Dont bother checking and including a header we dont use or need
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 23 Dec 2009 10:58:17 +0000 (12:58 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 23 Dec 2009 10:58:17 +0000 (12:58 +0200)
configure.ac
system.h

index 86d28e1..579198d 100644 (file)
@@ -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)
index 43e70c9..10a9cf7 100644 (file)
--- 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