Module: kamailio
Branch: master
Commit: 5710676321c145d83904d919960ae7a12bd148d9
URL:
https://github.com/kamailio/kamailio/commit/5710676321c145d83904d919960ae7a…
Author: Rick Barenthin <rb(a)terralink.de>
Committer: Rick Barenthin <rb(a)terralink.de>
Date: 2016-09-22T21:19:11+02:00
ipops: fix compilation under FreeBSD
- unable to compile detailed_ip_type.c under FreeBSD needs extra header
---
Modified: modules/ipops/detailed_ip_type.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5710676321c145d83904d919960ae7a…
Patch:
https://github.com/kamailio/kamailio/commit/5710676321c145d83904d919960ae7a…
---
diff --git a/modules/ipops/detailed_ip_type.c b/modules/ipops/detailed_ip_type.c
index 3e3854d..aeff77c 100644
--- a/modules/ipops/detailed_ip_type.c
+++ b/modules/ipops/detailed_ip_type.c
@@ -26,6 +26,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <arpa/inet.h>
+#if defined (__OS_freebsd)
+#include <sys/socket.h>
+#endif
#include <string.h>
#include <unistd.h>
#include "../../dprint.h"