summaryrefslogtreecommitdiff
path: root/sysutils/xfce4-netload-plugin/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfce4-netload-plugin/patches/patch-ac')
-rw-r--r--sysutils/xfce4-netload-plugin/patches/patch-ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/xfce4-netload-plugin/patches/patch-ac b/sysutils/xfce4-netload-plugin/patches/patch-ac
new file mode 100644
index 00000000000..0ae4417676e
--- /dev/null
+++ b/sysutils/xfce4-netload-plugin/patches/patch-ac
@@ -0,0 +1,27 @@
+$NetBSD: patch-ac,v 1.1 2007/06/30 18:14:36 joerg Exp $
+
+--- panel-plugin/os.h.orig 2007-06-30 17:53:50.000000000 +0000
++++ panel-plugin/os.h
+@@ -72,7 +72,7 @@
+ #include <net/if_media.h>
+ #include <net/if_mib.h>
+ #include <arpa/inet.h>
+-#elif __FreeBSD__ /* F R E E B S D */
++#elif defined(__FreeBSD__) || defined(__DragonFly__) /* F R E E B S D */
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+@@ -94,8 +94,13 @@
+ #include <net/if_media.h>
+ #include <net/if_mib.h>
+ #include <arpa/inet.h>
++# if defined(__DragonFly__)
++#include <net/ppp_layer/ppp_defs.h>
++#include <net/ppp/if_ppp.h>
++# else
+ #include <net/ppp_defs.h>
+ #include <net/if_ppp.h>
++# endif
+ #elif __NetBSD__ /* N E T B S D */
+ #include <stdio.h>
+ #include <sys/param.h>