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
commit3efbad6c35f7917db86b64321c137ea54dcd719e (patch)
treed550fc80c51deae4657a617d954db182bb980df2 /src/getloadavg.c
parent1dab88c9bd37b83d49f7600f39fb5e0fcf367bb1 (diff)
downloademacs-3efbad6c35f7917db86b64321c137ea54dcd719e.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