summaryrefslogtreecommitdiffstats
path: root/server/glz_encoder.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
commit78c1465ed309d2e8937dc00a19635f40c8a4b05a (patch)
tree665d13726596ecc3433168f65822bc8f08738f50 /server/glz_encoder.c
parent2db7212175c51f4121790bfd1fd677c0b77833d5 (diff)
downloadspice-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 'server/glz_encoder.c')
-rw-r--r--server/glz_encoder.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/glz_encoder.c b/server/glz_encoder.c
index 89b759c3..8d20807f 100644
--- a/server/glz_encoder.c
+++ b/server/glz_encoder.c
@@ -14,6 +14,9 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <pthread.h>
#include <stdio.h>