Ticket #18502: patch-mkfs.c.diff

File patch-mkfs.c.diff, 439 bytes (added by 0xffea@…, 16 years ago)
  • mkfs.c

    old new  
    1818
    1919#define _XOPEN_SOURCE 500
    2020#define _GNU_SOURCE
     21#define _DARWIN_C_SOURCE
    2122
    2223#ifndef __CHECKER__
    2324#include <sys/ioctl.h>
     
    3334#include <unistd.h>
    3435#include <getopt.h>
    3536#include <uuid/uuid.h>
     37#ifndef __APPLE__
    3638#include <linux/fs.h>
     39#endif
    3740#include <ctype.h>
    3841#include "kerncompat.h"
    3942#include "ctree.h"