autoconf info page mentions that including config.h has to be done this way.
authorniki <niki>
Wed, 14 Dec 2005 13:48:25 +0000 (13:48 +0000)
committerniki <niki>
Wed, 14 Dec 2005 13:48:25 +0000 (13:48 +0000)
maybe we should start including common.h instead and do all fancy #if/#endif there.

src/users.h

index c250f6c..02f23dc 100644 (file)
@@ -23,7 +23,9 @@
 #ifndef USERS_H
 #define USERS_H 1
 
-#include "config.h"
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #if !defined(HAVE_UTMPX_H) || !defined(HAVE_GETUTXENT)
 #undef HAVE_UTMPX_H