From: niki Date: Wed, 14 Dec 2005 13:48:25 +0000 (+0000) Subject: autoconf info page mentions that including config.h has to be done this way. X-Git-Tag: collectd-3.5.0~11 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cef4d8e02560b1a750f81bca94748a7e7faa49e0;p=collectd.git autoconf info page mentions that including config.h has to be done this way. maybe we should start including common.h instead and do all fancy #if/#endif there. --- diff --git a/src/users.h b/src/users.h index c250f6ce..02f23dcd 100644 --- a/src/users.h +++ b/src/users.h @@ -23,7 +23,9 @@ #ifndef USERS_H #define USERS_H 1 -#include "config.h" +#if HAVE_CONFIG_H +#include +#endif #if !defined(HAVE_UTMPX_H) || !defined(HAVE_GETUTXENT) #undef HAVE_UTMPX_H