summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-08-12 22:17:13 +0000
committerRoland McGrath <roland@redhat.com>1993-08-12 22:17:13 +0000
commit9dcfb711c1148472a571223c4df9a376d17d968e (patch)
tree4d0bb8d9f885aa3d575a07a1c13d2cffdfe187e1 /getloadavg.c
parent4d8fff0ec07e9270516afd4b70c2268053e262ac (diff)
downloadmake-9dcfb711c1148472a571223c4df9a376d17d968e.tar.gz
*** empty log message ***
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 3e4a1d4..b748c3a 100644
--- a/getloadavg.c
+++ b/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