Browse Source

[master] Add more missing includes (doesn't compile on OpenBSD otherwise)

Mukund Sivaraman 13 years ago
parent
commit
61992b3bdb

+ 1 - 0
src/bin/auth/auth_srv.cc

@@ -14,6 +14,7 @@
 
 #include <config.h>
 
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #include <algorithm>

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

@@ -15,6 +15,7 @@
 #include <config.h>
 
 #include <stdint.h>
+#include <sys/types.h>
 #include <netinet/in.h>
 
 #include <algorithm>

+ 1 - 0
src/lib/server_common/tests/client_unittest.cc

@@ -12,6 +12,7 @@
 // OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 // PERFORMANCE OF THIS SOFTWARE.
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <string.h>