diff options
Diffstat (limited to 'compat/malloc.c')
-rw-r--r-- | compat/malloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compat/malloc.c b/compat/malloc.c index 559aa100dd2b0..d8097b13e0241 100644 --- a/compat/malloc.c +++ b/compat/malloc.c @@ -5,7 +5,12 @@ #undef malloc #include <sys/types.h> +#ifndef USE_WINSOCK void *malloc (); +#else +/* provide a prototype */ +void *malloc (size_t n); +#endif /* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */ |