summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-11 20:22:48 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-11 20:22:48 +0000
commitd91591ebae8bd55bb088fa74a96023ca05a3ed90 (patch)
treef5aa3893d600a2f549e76f97828b3bd3b6f26fa1 /isys
parenta0aac0fd5df5b80427b2bfabfea0a5f57f20c01f (diff)
downloadanaconda-d91591ebae8bd55bb088fa74a96023ca05a3ed90.tar.gz
anaconda-d91591ebae8bd55bb088fa74a96023ca05a3ed90.tar.xz
anaconda-d91591ebae8bd55bb088fa74a96023ca05a3ed90.zip
errno fixes
Diffstat (limited to 'isys')
-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>