mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 05:52:19 -04:00
28 lines
784 B
Plaintext
28 lines
784 B
Plaintext
$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>
|