aboutsummaryrefslogtreecommitdiff
path: root/net/ushare/files/patch-ushare.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ushare/files/patch-ushare.c')
-rw-r--r--net/ushare/files/patch-ushare.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ushare/files/patch-ushare.c b/net/ushare/files/patch-ushare.c
index 8d2f503e9ad7..0a48a4d975ba 100644
--- a/net/ushare/files/patch-ushare.c
+++ b/net/ushare/files/patch-ushare.c
@@ -1,10 +1,10 @@
---- src/ushare_orig.c Sun Nov 12 13:40:35 2006
-+++ src/ushare.c Mon Dec 11 09:59:04 2006
+--- src/ushare.c.orig Sun Nov 12 13:40:35 2006
++++ src/ushare.c Sat Dec 23 02:11:43 2006
@@ -33,6 +33,11 @@
#include <unistd.h>
#include <errno.h>
#include <getopt.h>
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#if defined(__FreeBSD__)
+#include <sys/socket.h>
+#include <sys/sysctl.h>
+#include <net/if_dl.h>
@@ -16,7 +16,7 @@
static char *
create_udn (char *interface)
{
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#if defined(__FreeBSD__)
+ int mib[6], len;
+ char *buf;
+ unsigned char *ptr;