diff options
author | Andy Wingo <wingo@pobox.com> | 2008-05-20 11:46:52 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-05-20 11:46:52 +0200 |
commit | 13c47753528ca790fa4a2d1f019150f9b8e898c1 (patch) | |
tree | 871e665ef7bf00a05a0a86607a476780519f2bbc /src/objcodes.c | |
parent | d79d908ef0c421798b79bd72403b2a8fd196173c (diff) | |
download | guile-13c47753528ca790fa4a2d1f019150f9b8e898c1.tar.gz |
properly include config.h in source files, not headers
* src/Makefile.am: Add $(DEFAULT_INCLUDES) to a couple of our custom
rules so we pick up the -I for config.h.
* src/*.[ch]: Include the config.h in the C files, not in the headers.
Diffstat (limited to 'src/objcodes.c')
-rw-r--r-- | src/objcodes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objcodes.c b/src/objcodes.c index b97e851c4..4306d3f47 100644 --- a/src/objcodes.c +++ b/src/objcodes.c @@ -39,6 +39,10 @@ * whether to permit this exception to apply to your modifications. * If you do not wish that, delete this exception notice. */ +#if HAVE_CONFIG_H +# include <config.h> +#endif + #include <string.h> #include <fcntl.h> #include <unistd.h> |