diff --git a/getloadavg.c b/getloadavg.c index b748c3a5..ad79231f 100644 --- a/getloadavg.c +++ b/getloadavg.c @@ -69,10 +69,14 @@ #ifdef HAVE_CONFIG_H +#if defined (emacs) || defined (CONFIG_BROKETS) /* 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). */ + (which it would do because it found this file in $srcdir). */ #include <config.h> +#else +#include "config.h" +#endif #endif