summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-08-12 22:17:13 +0000
committerRoland McGrath <roland@gnu.org>1993-08-12 22:17:13 +0000
commit3070929adb33aa100d7a99f8d72d93fb08c45b9b (patch)
tree018ce4ba0f27c87f50a0cc57fcab5eef71213729 /src/getloadavg.c
parent1a3ac8b9d23daeeaf6b38a21205a32e1e80417fb (diff)
downloademacs-3070929adb33aa100d7a99f8d72d93fb08c45b9b.tar.gz
*** empty log message ***
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c5
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