Fossil SCM
Reorder some #includes for OpenBSD.
Commit
339a0f49d21e02a0c101a5b6d94a65a9da259358
Parent
489c67ae46d4349…
1 file changed
+1
-1
+1
-1
| --- src/http_socket.c | ||
| +++ src/http_socket.c | ||
| @@ -33,14 +33,14 @@ | ||
| 33 | 33 | # define sleep Sleep /* windows does not have sleep, but Sleep */ |
| 34 | 34 | # if defined(__MINGW32__) |
| 35 | 35 | # include <ws2tcpip.h> |
| 36 | 36 | # endif |
| 37 | 37 | #else |
| 38 | +# include <netinet/in.h> | |
| 38 | 39 | # include <arpa/inet.h> |
| 39 | 40 | # include <sys/socket.h> |
| 40 | 41 | # include <netdb.h> |
| 41 | -# include <netinet/in.h> | |
| 42 | 42 | #endif |
| 43 | 43 | #include <assert.h> |
| 44 | 44 | #include <sys/types.h> |
| 45 | 45 | #include <signal.h> |
| 46 | 46 | |
| 47 | 47 |
| --- src/http_socket.c | |
| +++ src/http_socket.c | |
| @@ -33,14 +33,14 @@ | |
| 33 | # define sleep Sleep /* windows does not have sleep, but Sleep */ |
| 34 | # if defined(__MINGW32__) |
| 35 | # include <ws2tcpip.h> |
| 36 | # endif |
| 37 | #else |
| 38 | # include <arpa/inet.h> |
| 39 | # include <sys/socket.h> |
| 40 | # include <netdb.h> |
| 41 | # include <netinet/in.h> |
| 42 | #endif |
| 43 | #include <assert.h> |
| 44 | #include <sys/types.h> |
| 45 | #include <signal.h> |
| 46 | |
| 47 |
| --- src/http_socket.c | |
| +++ src/http_socket.c | |
| @@ -33,14 +33,14 @@ | |
| 33 | # define sleep Sleep /* windows does not have sleep, but Sleep */ |
| 34 | # if defined(__MINGW32__) |
| 35 | # include <ws2tcpip.h> |
| 36 | # endif |
| 37 | #else |
| 38 | # include <netinet/in.h> |
| 39 | # include <arpa/inet.h> |
| 40 | # include <sys/socket.h> |
| 41 | # include <netdb.h> |
| 42 | #endif |
| 43 | #include <assert.h> |
| 44 | #include <sys/types.h> |
| 45 | #include <signal.h> |
| 46 | |
| 47 |