summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--isys/gzlib/gzip.c2
-rw-r--r--isys/gzlib/util.c2
-rw-r--r--isys/imount.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/isys/gzlib/gzip.c b/isys/gzlib/gzip.c
index dd556edf9..342db965c 100644
--- a/isys/gzlib/gzip.c
+++ b/isys/gzlib/gzip.c
@@ -65,8 +65,6 @@ static char rcsid[] = "$Id$";
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
# include <stdlib.h>
-#else
- extern int errno;
#endif
#ifdef HAVE_DIRENT_H
diff --git a/isys/gzlib/util.c b/isys/gzlib/util.c
index af658c452..873721a24 100644
--- a/isys/gzlib/util.c
+++ b/isys/gzlib/util.c
@@ -26,8 +26,6 @@ static char rcsid[] = "$Id$";
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
# include <stdlib.h>
-#else
- extern int errno;
#endif
#include "gzip.h"
diff --git a/isys/imount.c b/isys/imount.c
index 5c0cec4ad..a17628fc7 100644
--- a/isys/imount.c
+++ b/isys/imount.c
@@ -1,7 +1,7 @@
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/errno.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/types.h>