commit 5d16a7a12328527e174d8ad62cb3fa7085e3d6de
parent a66d2592710d382396135cd985afc1827aeeb77c
Author: Joris Vink <joris@coders.se>
Date: Fri, 29 Mar 2019 19:25:27 +0100
make sure stdint.h is always included.
unbreaks NOTLS=1 and NOSENDFILE=1 builds on several platforms.
reported by Sam on irc, thanks.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/fileref.c b/src/fileref.c
@@ -19,9 +19,7 @@
#include <sys/types.h>
#include <sys/mman.h>
-#if !defined(__MACH__) && !defined(__linux__)
-#include <sys/stdint.h>
-#endif
+#include <stdint.h>
#include "kore.h"