Include netinet/in.h, as apparently OpenBSD needs it.
authoraland <aland>
Mon, 6 May 2002 13:53:36 +0000 (13:53 +0000)
committeraland <aland>
Mon, 6 May 2002 13:53:36 +0000 (13:53 +0000)
Based on a patch from Giacomo Cariello

src/main/radwho.c

index a0ca819..68e362c 100644 (file)
@@ -35,6 +35,9 @@ static const char rcsid[] =
 #include <sys/stat.h>
 #include <sys/utsname.h>
 #include <ctype.h>
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 
 #include "sysutmp.h"
 #include "radutmp.h"