diff --git a/getloadavg.c b/getloadavg.c index 3e4a1d41..b748c3a5 100644 --- a/getloadavg.c +++ b/getloadavg.c @@ -69,7 +69,10 @@ #ifdef HAVE_CONFIG_H -#include "config.h" +/* We use instead of "config.h" so that a compilation + using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h + (which it would do because getloadavg.c was found in $srcdir). */ +#include #endif