diff options
Diffstat (limited to 'src/logname.c')
-rw-r--r-- | src/logname.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/logname.c b/src/logname.c index 82c49feef..9a95bceee 100644 --- a/src/logname.c +++ b/src/logname.c @@ -15,6 +15,17 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#if 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 it found this file in $srcdir). */ +#include <config.h> +#else +#include "config.h" +#endif +#endif + #include <stdio.h> #include <sys/types.h> #include <getopt.h> |