mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Handle #1463 - add missing includes for windows
This commit is contained in:
1 parent
3e085ccbaa
commit
1adf7f6b2b
2 files changed
+4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user