summaryrefslogtreecommitdiff
path: root/devel/libbobcat/files/patch-hostname-hostname
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libbobcat/files/patch-hostname-hostname')
-rw-r--r--devel/libbobcat/files/patch-hostname-hostname13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libbobcat/files/patch-hostname-hostname b/devel/libbobcat/files/patch-hostname-hostname
new file mode 100644
index 000000000000..ba7ff8aac328
--- /dev/null
+++ b/devel/libbobcat/files/patch-hostname-hostname
@@ -0,0 +1,13 @@
+--- hostname/hostname.orig 2013-11-13 11:45:02.000000000 +0100
++++ hostname/hostname 2013-11-27 16:50:05.000000000 +0100
+@@ -1,6 +1,10 @@
+ #ifndef INCLUDED_BOBCAT_HOSTNAME_
+ #define INCLUDED_BOBCAT_HOSTNAME_
+
++#ifdef __FreeBSD__
++#include <sys/socket.h>
++#endif
++
+ #include <bobcat/hostent>
+
+ namespace FBB