[PATCH 04/11] xfsprogs: Add includes required for OS X builds

Jan Tulak
2015-08-17T16:23:55Z

Signed-off-by: Jan Tulak <jtulak@redhat.com>
---
include/darwin.h | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/include/darwin.h b/include/darwin.h
index abdf4e3..8b5a661 100644
--- a/include/darwin.h
+++ b/include/darwin.h
@@ -18,12 +18,20 @@
#ifndef __XFS_DARWIN_H__
#define __XFS_DARWIN_H__

+#include <unistd.h>
+#include <sys/types.h>
+#include <string.h>
#include <uuid/uuid.h>
#include <libgen.h>
#include <sys/vm.h>
#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
--
2.4.5