summaryrefslogtreecommitdiffstats
path: root/glc.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-21 12:35:34 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:10 +0200
commitda4b2715cc83a98abec7d1b228249d22cc53638b (patch)
tree3be954ecef0c2b38976822603df6175755dc24fb /glc.c
parentaa2b615cd82852e0647c6095208cc1077afb86b6 (diff)
downloadspice-common-da4b2715cc83a98abec7d1b228249d22cc53638b.tar.gz
spice-common-da4b2715cc83a98abec7d1b228249d22cc53638b.tar.xz
spice-common-da4b2715cc83a98abec7d1b228249d22cc53638b.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 'glc.c')
-rw-r--r--glc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/glc.c b/glc.c
index e58718f..d90e383 100644
--- a/glc.c
+++ b/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>