diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 12:35:34 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:10 +0200 |
commit | 78c1465ed309d2e8937dc00a19635f40c8a4b05a (patch) | |
tree | 665d13726596ecc3433168f65822bc8f08738f50 /common/glc.c | |
parent | 2db7212175c51f4121790bfd1fd677c0b77833d5 (diff) | |
download | spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.tar.gz spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.tar.xz spice-78c1465ed309d2e8937dc00a19635f40c8a4b05a.zip |
add #include <config.h> to all source files
When using config.h, it must be the very first include in all source
files since it contains #define that may change the compilation process
(eg libc structure layout changes when it's used to enable large file
support on 32 bit x86 archs). This commit adds it at the beginning
of all .c and .cpp files
Diffstat (limited to 'common/glc.c')
-rw-r--r-- | common/glc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/glc.c b/common/glc.c index e58718f1..d90e3836 100644 --- a/common/glc.c +++ b/common/glc.c @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <stdlib.h> #include <string.h> |