Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/net-mgmt/chillispot/files/patch-src_dhcp.c
16461 views
1
--- src/dhcp.c.orig Mon Dec 26 08:22:52 2005
2
+++ src/dhcp.c Mon Dec 26 08:29:56 2005
3
@@ -37,9 +37,12 @@
4
#include <string.h>
5
#include <errno.h>
6
#include <fcntl.h>
7
+#if __FreeBSD_version > 500000
8
#include <stdint.h> /* ISO C99 types */
9
-#include <arpa/inet.h>
10
+#endif
11
+#include <sys/types.h>
12
#include <sys/socket.h>
13
+#include <netinet/in.h>
14
15
#if defined(__linux__)
16
#include <linux/if.h>
17
18