diff options
Diffstat (limited to 'src/examples/authorization_example.c')
-rw-r--r-- | src/examples/authorization_example.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c index bb480267..39dd3966 100644 --- a/src/examples/authorization_example.c +++ b/src/examples/authorization_example.c | |||
@@ -25,6 +25,12 @@ | |||
25 | 25 | ||
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include <microhttpd.h> | 27 | #include <microhttpd.h> |
28 | #ifdef _WIN32 | ||
29 | #ifndef WIN32_LEAN_AND_MEAN | ||
30 | #define WIN32_LEAN_AND_MEAN 1 | ||
31 | #endif /* !WIN32_LEAN_AND_MEAN */ | ||
32 | #include <windows.h> | ||
33 | #endif | ||
28 | 34 | ||
29 | #define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" | 35 | #define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" |
30 | 36 | ||