summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_bootstrap.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-07-29 14:05:11 +0200
committerSander Vrijders <[email protected]>2016-07-29 14:05:11 +0200
commit434c782c99496b491684f4ab0058d9491c250774 (patch)
treeafcfd1cb6399811f2275a7ebfc345f8e3f3afd27 /src/tools/irm/irm_ipcp_bootstrap.c
parent2d529f912c089033e2f40fd0978ccb741bfe2bbb (diff)
parentce401448d62f65956ed57b077af2b315f59efe94 (diff)
downloadouroboros-434c782c99496b491684f4ab0058d9491c250774.tar.gz
ouroboros-434c782c99496b491684f4ab0058d9491c250774.zip
Merged in dstaesse/ouroboros/be-bsd (pull request #181)
build: FreeBSD compatibility
Diffstat (limited to 'src/tools/irm/irm_ipcp_bootstrap.c')
-rw-r--r--src/tools/irm/irm_ipcp_bootstrap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/irm/irm_ipcp_bootstrap.c b/src/tools/irm/irm_ipcp_bootstrap.c
index c2b696e4..94b7f81e 100644
--- a/src/tools/irm/irm_ipcp_bootstrap.c
+++ b/src/tools/irm/irm_ipcp_bootstrap.c
@@ -24,7 +24,9 @@
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
-
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#endif
#include <ouroboros/irm.h>
#include <ouroboros/irm_config.h>