aboutsummaryrefslogtreecommitdiffstats
path: root/fad-getad.c
diff options
context:
space:
mode:
authorChris Maynard <Chris.Maynard@gtech.com>2010-04-01 01:58:32 -0700
committerGuy Harris <guy@alum.mit.edu>2010-04-01 01:58:32 -0700
commit3ac3601bc71fc1f3023754a115e19915b929c877 (patch)
tree1030d05ab583d368d0f5c55b5e724aa8158f5461 /fad-getad.c
parentdbf3bd45970b97accaba643824fbae68376e0fba (diff)
Add a #include required on RHEL5.
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