[Spice-devel] [PATCH 3/4] server: use -std=c99 -D_GNU_POSIX (finds some bugs)

Alon Levy alevy at redhat.com
Wed Mar 9 13:20:33 PST 2011


---
 server/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/Makefile.am b/server/Makefile.am
index 5a5106e..5e49c66 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -19,6 +19,7 @@ INCLUDES = \
 	$(WARN_CFLAGS)                          \
 	$(VISIBILITY_HIDDEN_CFLAGS)		\
 	$(SMARTCARD_CFLAGS)				\
+	-std=gnu99 -D_GNU_SOURCE \
 	$(NULL)
 
 spice_built_sources = generated_marshallers.c generated_marshallers.h generated_demarshallers.c
-- 
1.7.4.1



More information about the Spice-devel mailing list