commit d05cd9b2a746d2f235804c1ac84c79c829d1e9f9
parent a6e47e90cba08591da49f81ce97b10ecb1b40601
Author: sin <sin@2f30.org>
Date: Tue, 12 Apr 2016 11:15:31 +0100
fix build on FreeBSD
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dev_bsd.c b/dev_bsd.c
@@ -9,6 +9,7 @@
#elif defined(__DragonFly__)
#include <net/tun/if_tun.h>
#endif
+#include <netinet/in.h>
#include <fcntl.h>
#include <stdint.h>
diff --git a/log.c b/log.c
@@ -1,3 +1,5 @@
+#include <sys/time.h>
+
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>