diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/http.c | 4 | ||||
| -rw-r--r-- | src/update.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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> |
