--- a/happyhttp.cpp.orig 2012-07-29 00:39:20.780000158 +0200 +++ b/happyhttp.cpp 2012-07-29 00:39:45.178001844 +0200 @@ -34,6 +34,7 @@ #include <arpa/inet.h> #include <netdb.h> // for gethostbyname() #include <errno.h> + #include <unistd.h> #endif #ifdef WIN32