commit d876e41ebbd33af5ce4c08f7ea2378c6f97fc3ba
parent 48955dcb13305681d5c46c65b7f0425ac9e469b7
Author: Joris Vink <joris@coders.se>
Date: Thu, 28 Jun 2018 13:45:04 +0200
shuffle headers around
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/fileref.c b/src/fileref.c
@@ -19,6 +19,10 @@
#include <sys/types.h>
#include <sys/mman.h>
+#if !defined(__MACH__) && !defined(__linux__)
+#include <sys/stdint.h>
+#endif
+
#include "kore.h"
/* cached filerefs expire after 30 seconds of inactivity. */
diff --git a/src/net.c b/src/net.c
@@ -24,7 +24,6 @@
#define be64toh(x) OSSwapBigToHostInt64(x)
#else
#include <sys/endian.h>
-#include <sys/stdint.h>
#endif
#include "kore.h"