summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http.c4
-rw-r--r--src/update.c4
2 files changed, 6 insertions, 2 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>
diff --git a/src/update.c b/src/update.c
index 24d81f0..06a7310 100644
--- a/src/update.c
+++ b/src/update.c
@@ -21,8 +21,10 @@
#include <stdio.h>
#include <stdlib.h>
-#if !defined(MACOSX) && !defined(BSD)
+#ifndef WIN32
#include <sys/param.h>
+#endif
+#if !defined(MACOSX) && !defined(BSD)
#include <malloc.h>
#endif
#include <string.h>