projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8121a
)
include unistd.h if present to prevent compiler warnings on close()
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Dec 2000 13:35:23 +0000
(13:35 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Dec 2000 13:35:23 +0000
(13:35 +0000)
lib/memdebug.c
patch
|
blob
|
history
diff --git
a/lib/memdebug.c
b/lib/memdebug.c
index a92207f64dec5c373496092a509dcf9960e79cb5..72fc99557c5f6e2c30c883b56006d03340300f3c 100644
(file)
--- 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! */
/*