aboutsummaryrefslogtreecommitdiffstats
path: root/fad-getad.c
diff options
context:
space:
mode:
Diffstat (limited to 'fad-getad.c')
-rw-r--r--fad-getad.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/fad-getad.c b/fad-getad.c
index 9aca411..831ddae 100644
--- a/fad-getad.c
+++ b/fad-getad.c
@@ -62,9 +62,12 @@ static const char rcsid[] _U_ =
#ifdef AF_PACKET
# ifdef __Lynx__
-# include <netpacket/if_packet.h> /* LynxOS */
+/* LynxOS */
+# include <netpacket/if_packet.h>
# else
-# include <linux/if_packet.h> /* Linux */
+/* Linux */
+# include <linux/types.h>
+# include <linux/if_packet.h>
# endif
#endif