summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-23 12:58:17 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-23 12:58:17 +0200
commit0fbf88d34c6d2ba03ebf011d05ada5244636ca02 (patch)
tree46f975cbe69c3da3aa75d23cac1f9bda07719ab9
parent162fc36e144707cd21e0063bcbbbb3f202bdc870 (diff)
downloadrpm-0fbf88d34c6d2ba03ebf011d05ada5244636ca02.tar.gz
rpm-0fbf88d34c6d2ba03ebf011d05ada5244636ca02.tar.bz2
rpm-0fbf88d34c6d2ba03ebf011d05ada5244636ca02.zip
Dont bother checking and including a header we dont use or need
-rw-r--r--configure.ac2
-rw-r--r--system.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 86d28e175..579198d9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -214,8 +214,6 @@ AC_CHECK_FUNC(gethostname, [], [
AC_CHECK_LIB(nsl, gethostname)
])
-AC_CHECK_HEADERS(error.h)
-
AC_CHECK_HEADERS(poll.h)
AC_CHECK_HEADERS(pthread.h)
diff --git a/system.h b/system.h
index 43e70c9eb..10a9cf7d1 100644
--- a/system.h
+++ b/system.h
@@ -89,10 +89,6 @@ char * stpncpy(char * dest, const char * src, size_t n);
extern int errno;
#endif
-#if HAVE_ERROR_H
-#include <error.h>
-#endif
-
#if HAVE___SECURE_GETENV
#define getenv(_s) __secure_getenv(_s)
#endif