diff options
author | mrcsys | 2005-12-22 14:19:36 +0000 |
---|---|---|
committer | mrcsys | 2005-12-22 14:19:36 +0000 |
commit | e30636e7f1814056f1be9ff31a265bba23964f26 (patch) | |
tree | 53791d9493fa9625768f51be17ceec371ade4311 /nanohttp | |
parent | 621ac5f14f3f5e5d254ece869a1565affca9e483 (diff) | |
download | csoap-e30636e7f1814056f1be9ff31a265bba23964f26.tar.gz csoap-e30636e7f1814056f1be9ff31a265bba23964f26.tar.bz2 |
Win32 compile issue fixed.
Diffstat (limited to 'nanohttp')
-rw-r--r-- | nanohttp/nanohttp-ssl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-ssl.c b/nanohttp/nanohttp-ssl.c index a477c3c..d140f17 100644 --- a/nanohttp/nanohttp-ssl.c +++ b/nanohttp/nanohttp-ssl.c @@ -22,7 +22,11 @@ */ #include <sys/types.h> +#ifndef WIN32 #include <netinet/in.h> +#include <openssl/rand.h> +#include <openssl/err.h> +#endif #if HAVE_INTTYPES_H #include <inttypes.h> #else @@ -36,8 +40,7 @@ typedef unsigned int uint32_t; #include <string.h> #include <stdlib.h> #include <time.h> -#include <openssl/rand.h> -#include <openssl/err.h> + #include <fcntl.h> #include "nanohttp-ssl.h" |