ports/devel/libbobcat/files/patch-hostname-hostname
Muhammad Moinur Rahman 6e47a493b5 devel/libbobcat: Update version 3.21.01=>3.25.01
- Fix patch files to reflect 'make makepatch'
2015-06-07 11:32:57 +00:00

13 lines
293 B
Text

--- hostname/hostname.orig 2013-10-12 15:12:39 UTC
+++ hostname/hostname
@@ -1,6 +1,10 @@
#ifndef INCLUDED_BOBCAT_HOSTNAME_
#define INCLUDED_BOBCAT_HOSTNAME_
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <sys/socket.h>
+#endif
+
#include <bobcat/hostent>
namespace FBB