summaryrefslogtreecommitdiff
path: root/src/Rootmenu.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-16 06:25:00 +0000
committerDana Jansens <danakj@orodu.net>2002-04-16 06:25:00 +0000
commit251dd4034f3a3f11a190c06d7b69670dc87d219d (patch)
tree4cf80bc69905e916a398f67dd9df8e062252d8df /src/Rootmenu.cc
parent67e5cb217e62e61928a7c399148f7d4a0bcfee0b (diff)
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
Diffstat (limited to 'src/Rootmenu.cc')
-rw-r--r--src/Rootmenu.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Rootmenu.cc b/src/Rootmenu.cc
index b8c8f2dd..59bfb1cf 100644
--- a/src/Rootmenu.cc
+++ b/src/Rootmenu.cc
@@ -38,10 +38,13 @@
# include <stdio.h>
#endif // HAVE_STDIO_H
-#ifdef STDC_HEADERS
+#ifdef HAVE_STDLIB_H
# include <stdlib.h>
+#endif // HAVE_STDLIB_H
+
+#ifdef HAVE_STRING_H
# include <string.h>
-#endif // STDC_HEADERS
+#endif // HAVE_STRING_H
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>