diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-12-19 13:35:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-12-19 13:35:23 +0000 |
commit | 3d8bb1c27a870a14c350d29ac57d8682bf975601 (patch) | |
tree | b3c4be33f1c9bc04711553ba54642ed76349d1d1 | |
parent | 1c8121a89ed8966445010df0bff43d282bba497d (diff) |
include unistd.h if present to prevent compiler warnings on close()
-rw-r--r-- | lib/memdebug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index a92207f64..72fc99557 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -58,6 +58,10 @@ #include <string.h> #include <stdlib.h> +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + /* DONT include memdebug.h here! */ /* |