--- ./libproxy/test/get-pac-test.cpp.orig
+++ ./libproxy/test/get-pac-test.cpp
@@ -3,6 +3,7 @@
 #include <sstream>
 #include <string>
 
+#include <sys/types.h>
 #include <stdlib.h> // for abort()
 #include <errno.h>  // for EINTR
 #include <sys/socket.h>