]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] fix build on FreeBSD by removing net/in.h include
authorJeremy C. Reed <jreed@ISC.org>
Thu, 6 Oct 2011 22:25:35 +0000 (17:25 -0500)
committerJeremy C. Reed <jreed@ISC.org>
Thu, 6 Oct 2011 22:25:35 +0000 (17:25 -0500)
On FreeBSD these needs sys/socket.h.
But we realized that the net/in.h is not needed now.

(TODO: remove #include <netinet/in.h> and #include <arpa/inet.h> also?)

src/bin/dhcp6/iface_mgr.cc

index 4a5839280eb8245f72a6d523c5b45e583df70e9b..7998d28a133499b703d079b971e466724a5a2507 100644 (file)
@@ -17,7 +17,6 @@
 #include <string.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#include <net/if.h>
 
 #include "dhcp6/iface_mgr.h"
 #include "dhcp6/dhcp6.h"