Module: kamailio
Branch: master
Commit: 38971b5312dfeb9cedc1566f37ec4edc7740f283
URL: 
https://github.com/kamailio/kamailio/commit/38971b5312dfeb9cedc1566f37ec4edc7740f283

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: GitHub <nore...@github.com>
Date: 2016-09-23T08:46:57+02:00

Merge pull request #793 from dunst0/freebsdfix/module_ipops

ipops: fix compilation under FreeBSD

---

Modified: modules/ipops/detailed_ip_type.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/38971b5312dfeb9cedc1566f37ec4edc7740f283.diff
Patch: 
https://github.com/kamailio/kamailio/commit/38971b5312dfeb9cedc1566f37ec4edc7740f283.patch

---

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"


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to