summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-common.c')
-rw-r--r--nanohttp/nanohttp-common.c4
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)
{