summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-03-10 21:04:44 +0100
committerAlexander Larsson <alexl@redhat.com>2010-03-10 21:28:48 +0100
commit22b551f97faf4a16dd030a4518cfb6afd151138f (patch)
tree1d0353b8703a1cfdba116cf95a96cec7e573721a
parent0230541af5e5cebf7bdec97d8d86cd594e9ae8b9 (diff)
downloadspice-22b551f97faf4a16dd030a4518cfb6afd151138f.tar.gz
spice-22b551f97faf4a16dd030a4518cfb6afd151138f.tar.xz
spice-22b551f97faf4a16dd030a4518cfb6afd151138f.zip
Define __STDC_LIMIT_MACROS for c++ code to get SIZE_MAX
We need SIZE_MAX for the malloc overflow code, and its not defined in C++ unless __STDC_LIMIT_MACROS is defined.
-rw-r--r--client/x11/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/x11/Makefile.am b/client/x11/Makefile.am
index d703101e..7feedeaa 100644
--- a/client/x11/Makefile.am
+++ b/client/x11/Makefile.am
@@ -8,6 +8,7 @@ INCLUDES = \
-DCAIRO_CANVAS_NO_CHUNKS \
-DUSE_GLZ \
-DUSE_OGL \
+ -D__STDC_LIMIT_MACROS \
-I. \
-I.. \
-I$(top_srcdir)/common \