]>
Commit | Line | Data |
---|---|---|
38dcabbc JB |
1 | --- bootil/src/3rdParty/happyhttp/happyhttp.cpp.orig 2014-01-11 17:58:10.000000000 +0100 |
2 | +++ bootil/src/3rdParty/happyhttp/happyhttp.cpp 2014-01-11 18:36:14.462546050 +0100 | |
3 | @@ -34,6 +34,7 @@ | |
4 | #include <arpa/inet.h> | |
5 | #include <netdb.h> // for gethostbyname() | |
6 | #include <errno.h> | |
7 | + #include <unistd.h> | |
8 | #endif | |
9 | ||
10 | #ifdef _WIN32 | |
11 | --- bootil/src/Bootil/Network/Socket.cpp.orig 2014-01-11 17:58:10.000000000 +0100 | |
12 | +++ bootil/src/Bootil/Network/Socket.cpp 2014-01-11 18:50:46.302509462 +0100 | |
13 | @@ -13,6 +13,7 @@ | |
14 | #include <sys/ioctl.h> | |
15 | #include <arpa/inet.h> | |
16 | #include <netdb.h> | |
17 | + #include <unistd.h> | |
18 | #define ioctlsocket ioctl | |
19 | #define closesocket close | |
20 | #define WSAGetLastError() errno |