aboutsummaryrefslogtreecommitdiffstats
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
parentdbf3bd45970b97accaba643824fbae68376e0fba (diff)
Add a #include required on RHEL5.
-rw-r--r--CREDITS1
-rw-r--r--fad-getad.c7
2 files changed, 6 insertions, 2 deletions
diff --git a/CREDITS b/CREDITS
index cbca7a6..2d7c09e 100644
--- a/CREDITS
+++ b/CREDITS
@@ -24,6 +24,7 @@ Additional people who have contributed patches:
Charles M. Hannum <mycroft at netbsd dot org>
Chris G. Demetriou <cgd at netbsd dot org>
Chris Lightfoot <cwrl at users dot sourceforge dot net>
+ Chris Maynard <Chris dot Maynard at gtech dot com>
Chris Pepper <pepper at mail dot reppep dot com>
Christian Bell <csbell at myri dot com>
Christian Peron <csjp at freebsd dot org>
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