summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-05 23:18:35 +0000
committerDana Jansens <danakj@orodu.net>2002-05-05 23:18:35 +0000
commit4e2c37f2d20a1be4fd7826b817ec5b7caa31138a (patch)
treeb574553740af1c36f8c9436e4e3cc1130ff67f99
parent38de48bd8b054db7ba95fcdb43e474a0ba23b78f (diff)
fix headers to use the new defines
-rw-r--r--util/bsetroot.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index cb37cb6b..dce732aa 100644
--- 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>