[PATCH v3 06/11] xfsprogs: Add includes required for OS X builds
Jan Tulak
jtulak at redhat.com
Mon Aug 3 09:39:44 CDT 2015
Signed-off-by: Jan Tulak <jtulak at redhat.com>
---
include/darwin.h | 5 +++++
libdisk/fstype.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/include/darwin.h b/include/darwin.h
index 30f0052..2b470b4 100644
--- a/include/darwin.h
+++ b/include/darwin.h
@@ -24,6 +24,11 @@
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
+#include <sys/types.h>
+#include <ftw.h>
+#include <mach/mach_time.h>
+#include <inttypes.h>
+#include <stdio.h>
#include <machine/endian.h>
#define __BYTE_ORDER BYTE_ORDER
diff --git a/libdisk/fstype.c b/libdisk/fstype.c
index 548f297..c8bde34 100644
--- a/libdisk/fstype.c
+++ b/libdisk/fstype.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include "fstype.h"
/*
--
2.4.3
More information about the xfs
mailing list