mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
Handle #1463 - add missing includes for windows
This commit is contained in:
parent
3e085ccbaa
commit
1adf7f6b2b
@ -342,6 +342,7 @@ struct timeval {
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
@ -368,6 +369,7 @@ typedef enum { false = 0, true = 1 } bool;
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#include <process.h>
|
||||
#include <winsock2.h>
|
||||
|
||||
// Protect from calls like std::snprintf in app code
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
@ -45,6 +46,7 @@ typedef enum { false = 0, true = 1 } bool;
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#include <process.h>
|
||||
#include <winsock2.h>
|
||||
|
||||
// Protect from calls like std::snprintf in app code
|
||||
|
Loading…
x
Reference in New Issue
Block a user