]> mj.ucw.cz Git - pciutils.git/commitdiff
BSD needs <netinet/in.h>.
authorMartin Mares <mj@ucw.cz>
Mon, 11 Feb 2008 16:22:50 +0000 (17:22 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 11 Feb 2008 16:22:50 +0000 (17:22 +0100)
lib/names.c

index e794c85c75fa71965116f57001dfca630454d850..3b30becc3288ea811f33718e99ad457f01f2fa92 100644 (file)
@@ -11,6 +11,7 @@
 #include <stdarg.h>
 #include <string.h>
 #include <errno.h>
+#include <netinet/in.h>
 #include <arpa/nameser.h>
 #include <resolv.h>