projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38de48b
)
fix headers to use the new defines
author
Dana Jansens
<danakj@orodu.net>
Sun, 5 May 2002 23:18:35 +0000
(23:18 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 5 May 2002 23:18:35 +0000
(23:18 +0000)
util/bsetroot.cc
patch
|
blob
|
history
diff --git
a/util/bsetroot.cc
b/util/bsetroot.cc
index cb37cb6bb66f63e64b27e771e43b407f7cf8e464..dce732aa0411b433f7c38822664c225e8fb2abaf 100644
(file)
--- a/
util/bsetroot.cc
+++ b/
util/bsetroot.cc
@@
-2,10
+2,13
@@
# include "../config.h"
#endif // HAVE_CONFIG_H
-#ifdef STDC_HEADERS
-# include <string.h>
+#ifdef HAVE_STDLIB_H
# include <stdlib.h>
-#endif // STDC_HEADERS
+#endif // HAVE_STDLIB_H
+
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif // HAVE_STRING_H
#ifdef HAVE_STDIO_H
# include <stdio.h>