]> source.dussan.org Git - tigervnc.git/commitdiff
Band aid to work around inluding C headers in C++ code
authorPierre Ossman <ossman@cendio.se>
Mon, 15 Dec 2014 09:52:43 +0000 (10:52 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 15 Dec 2014 09:52:43 +0000 (10:52 +0100)
unix/xserver/hw/vnc/Makefile.am

index 9885b8a364ae6ac08e6f267355a8f6f7d87587d4..372a57f56aa27963c02095ceab2741e5d4aab3df 100644 (file)
@@ -7,6 +7,9 @@ NETWORK_LIB=$(LIB_DIR)/network/libnetwork.la
 XREGION_LIB=$(LIB_DIR)/Xregion/libXregion.la
 COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB)
 
+# Hack to get the C headers to work when included from C++ code
+AM_CXXFLAGS = -fpermissive
+
 noinst_LTLIBRARIES = libvnccommon.la
 
 HDRS = RegionHelper.h vncExtInit.h vncHooks.h XserverDesktop.h xorg-version.h \