summaryrefslogtreecommitdiff
path: root/lib/pathsearch.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-15 14:46:49 +0100
committerColin Watson <cjwatson@debian.org>2007-10-15 14:46:49 +0100
commitfd369ba030e3b438471331b668b823dc02567615 (patch)
tree96406ad1be97c599528aa1ce84a00898a53e3061 /lib/pathsearch.c
parent480ba1d47a72c96cb2f835c5aaa41e11038e0b9c (diff)
remove attempts at K&R compatibility; such systems are no longer supported by the GNU build system and man-db's support for them was unadvertised and broken anyway
Diffstat (limited to 'lib/pathsearch.c')
-rw-r--r--lib/pathsearch.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/pathsearch.c b/lib/pathsearch.c
index 4e366485..adebe952 100644
--- a/lib/pathsearch.c
+++ b/lib/pathsearch.c
@@ -24,14 +24,8 @@
# include "config.h"
#endif /* HAVE_CONFIG_H */
-#if defined(STDC_HEADERS)
-# include <string.h>
-# include <stdlib.h>
-#elif defined(HAVE_STRING_H)
-# include <string.h>
-#elif defined(HAVE_STRINGS_H)
-# include <strings.h>
-#endif /* STDC_HEADERS */
+#include <string.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>