diff options
author | Martin Szulecki | 2013-02-17 20:54:09 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-17 20:54:09 +0100 |
commit | a70586322e0d0d09c99e910d02745098234a1e10 (patch) | |
tree | aa1abe0a49fd7e2a4fc1ef1144d4db7aca4b22d8 /nanohttp/nanohttp-common.c | |
parent | 99153c2246d18836d902761ce92d99596c16964a (diff) | |
download | csoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.gz csoap-a70586322e0d0d09c99e910d02745098234a1e10.tar.bz2 |
Add winsock2.h include where required to compile for WIN32
Diffstat (limited to 'nanohttp/nanohttp-common.c')
-rw-r--r-- | nanohttp/nanohttp-common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nanohttp/nanohttp-common.c b/nanohttp/nanohttp-common.c index d19554b..18b206b 100644 --- a/nanohttp/nanohttp-common.c +++ b/nanohttp/nanohttp-common.c @@ -58,6 +58,10 @@ #include "nanohttp-error.h" #include "nanohttp-common.h" +#ifdef WIN32 +#include <time.h> +#endif + hpair_t * hpairnode_new(const char *key, const char *value, hpair_t * next) { |