--- libproxy/test/get-pac-test.cpp
+++ libproxy/test/get-pac-test.cpp
@@ -3,6 +3,7 @@
#include <sstream>
#include <string>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>