projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
779c962
)
Also include memory.h, stdlib.h, unistd.h if appropriate.
author
Jim Meyering
<jim@meyering.net>
Mon, 4 Dec 2000 09:37:33 +0000
(09:37 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 4 Dec 2000 09:37:33 +0000
(09:37 +0000)
lib/path-concat.c
patch
|
blob
|
history
diff --git
a/lib/path-concat.c
b/lib/path-concat.c
index dfc54023817ae6f705bdb488a3c62ea909a072a6..3130e386df4ed6221b4d08d90376de1c123417b6 100644
(file)
--- a/
lib/path-concat.c
+++ b/
lib/path-concat.c
@@
-26,10
+26,23
@@
#endif
#include <stdio.h>
+
#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
+# include <memory.h>
+# endif
# include <string.h>
+#else
+# if HAVE_STRINGS_H
+# include <strings.h>
+# endif
+#endif
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+#if HAVE_UNISTD_H
+# include <unistd.h>
#endif
-#include <sys/types.h>
#ifndef HAVE_DECL_MALLOC
"this configure-time declaration test was not run"