Browse Source

Noticed on FreeBSD: include sys/socket.h for networking functions
and definitions.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1054 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed 15 years ago
parent
commit
5ab3c30e0d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bin/host/host.cc

+ 1 - 0
src/bin/host/host.cc

@@ -3,6 +3,7 @@
 #include <arpa/inet.h>
 #include <netdb.h>          // for getaddrinfo
 #include <sys/time.h>       // for gettimeofday
+#include <sys/socket.h>     // networking functions and definitions on FreeBSD
 
 #include <string>
 #include <iostream>