pkgsrc/net/arpd/patches/patch-ae
2006-03-28 16:05:47 +00:00

19 lines
464 B
Text

$NetBSD: patch-ae,v 1.1 2006/03/28 16:05:47 joerg Exp $
--- util.h.orig 2006-03-28 15:48:20.000000000 +0000
+++ util.h
@@ -30,8 +30,13 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/if_ether.h>
#include <netinet/in.h>
+#if defined(__DragonFly__)
+#include <sys/queue.h>
+#include <netinet/if_ether.h>
+#else
+#include <net/if_ether.h>
+#endif
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))