summaryrefslogtreecommitdiff
path: root/src/http.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@simons-mac-pro.localdomain>2012-04-27 12:51:42 (GMT)
committer Simon Robertshaw <simon@simons-mac-pro.localdomain>2012-04-27 12:51:42 (GMT)
commita75da2c4c3a4accdcbeab31a0416d6731040bda7 (patch)
tree4db81d2bb76c5a62880eb4d3bedfc6fc54a376f9 /src/http.c
parentffee9df8e626d548e89ed99994e9f46183c43446 (diff)
downloadpowder-a75da2c4c3a4accdcbeab31a0416d6731040bda7.zip
powder-a75da2c4c3a4accdcbeab31a0416d6731040bda7.tar.gz
Fix includes for OSX and BSD
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http.c b/src/http.c
index 27e510a..c228bf3 100644
--- a/src/http.c
+++ b/src/http.c
@@ -23,8 +23,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if !defined(MACOSX) && !defined(BSD)
+#ifndef WIN32
#include <sys/param.h>
+#endif
+#if !defined(MACOSX) && !defined(BSD)
#include <malloc.h>
#endif
#include <time.h>