summaryrefslogtreecommitdiff
path: root/src/zsoelim.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/zsoelim.l')
-rw-r--r--src/zsoelim.l17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/zsoelim.l b/src/zsoelim.l
index 3ee3ce62..2f6eacd5 100644
--- a/src/zsoelim.l
+++ b/src/zsoelim.l
@@ -40,17 +40,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>
-#else /* no string(s) header */
-extern char *strchr(), *strcat();
-extern int strncmp();
-#endif /* STDC_HEADERS */
+#include <string.h>
+#include <stdlib.h>
#if defined(HAVE_UNISTD_H)
# include <unistd.h>
@@ -61,10 +52,6 @@ extern int strncmp();
#include <fcntl.h>
#include <errno.h>
-#ifndef STDC_HEADERS
-extern int errno;
-#endif
-
#ifdef HAVE_LIBGEN_H
# include <libgen.h>
#endif /* HAVE_LIBGEN_H */