Module: kamailio Branch: master Commit: 38971b5312dfeb9cedc1566f37ec4edc7740f283 URL: https://github.com/kamailio/kamailio/commit/38971b5312dfeb9cedc1566f37ec4edc...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: GitHub noreply@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/38971b5312dfeb9cedc1566f37ec4edc... Patch: https://github.com/kamailio/kamailio/commit/38971b5312dfeb9cedc1566f37ec4edc...
---
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"