diff options
Diffstat (limited to 'src')
| -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 @@ | |||
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | #ifdef HAVE_CONFIG_H | 71 | #ifdef HAVE_CONFIG_H |
| 72 | #include "config.h" | 72 | /* We use <config.h> instead of "config.h" so that a compilation |
| 73 | using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h | ||
| 74 | (which it would do because getloadavg.c was found in $srcdir). */ | ||
| 75 | #include <config.h> | ||
| 73 | #endif | 76 | #endif |
| 74 | 77 | ||
| 75 | 78 | ||