summaryrefslogtreecommitdiff
path: root/net/openslp/files/patch-common_slp__socket.h
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2015-09-20 23:05:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2015-09-20 23:05:14 +0000
commit29d61f4556b637b68d424f6220f176d975cd3876 (patch)
treebb29c77b2de15e01714cfe84e10132faa27b5436 /net/openslp/files/patch-common_slp__socket.h
parentUpgrade www/elixir-maru to version 0.8.0. (diff)
Update to 2.0.0.
Notes
Notes: svn path=/head/; revision=397472
Diffstat (limited to 'net/openslp/files/patch-common_slp__socket.h')
-rw-r--r--net/openslp/files/patch-common_slp__socket.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/openslp/files/patch-common_slp__socket.h b/net/openslp/files/patch-common_slp__socket.h
new file mode 100644
index 000000000000..42492c20babe
--- /dev/null
+++ b/net/openslp/files/patch-common_slp__socket.h
@@ -0,0 +1,12 @@
+--- common/slp_socket.h.orig 2015-09-20 22:43:10 UTC
++++ common/slp_socket.h
+@@ -103,7 +103,8 @@ const char * inet_ntop(int af, const voi
+ # include <net/if.h>
+ # include <net/if_arp.h>
+ # include <netdb.h>
+-#if defined(LINUX) || defined (DARWIN)
++# include <netinet/in.h>
++#if defined(LINUX) || defined (DARWIN) || defined (__FreeBSD__)
+ # include <ifaddrs.h>
+ #endif
+