diff options
| -rw-r--r-- | src/getloadavg.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/getloadavg.c b/src/getloadavg.c index 3e4a1d41288..b748c3a5ace 100644 --- a/src/getloadavg.c +++ b/src/getloadavg.c @@ -69,7 +69,10 @@  #ifdef HAVE_CONFIG_H -#include "config.h" +/* We use <config.h> 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 <config.h>  #endif | 
