summaryrefslogtreecommitdiff
path: root/net/arpd/patches/patch-ae
blob: 1f26a347e8bd0dd8fb96f513ddd69d1f15d6714c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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))