summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2009-10-26 23:30:41 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-10-27 13:29:39 +0200
commit402a201ce6f56dbbedb641edc912295d79bf7a3b (patch)
treeb3d57364c4a92e78f8764cec54d5b0497e39a2d4 /client
parent7498ef3b666b0587e6dd94b40e1371c69937d628 (diff)
downloadspice-402a201ce6f56dbbedb641edc912295d79bf7a3b.tar.gz
spice-402a201ce6f56dbbedb641edc912295d79bf7a3b.tar.xz
spice-402a201ce6f56dbbedb641edc912295d79bf7a3b.zip
fix build on Debian
Diffstat (limited to 'client')
-rw-r--r--client/display_channel.cpp5
-rw-r--r--client/windows/redc.vcproj4
-rw-r--r--client/x11/Makefile.am1
3 files changed, 4 insertions, 6 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp
index 5d3a7afd..2e2e4f56 100644
--- a/client/display_channel.cpp
+++ b/client/display_channel.cpp
@@ -40,10 +40,7 @@
#include "red_gdi_canvas.h"
#endif
#include "platform_utils.h"
-
-extern "C" {
-#include "libavcodec/avcodec.h"
-}
+#include "ffmpeg_inc.h"
static Mutex avcodec_mutex;
diff --git a/client/windows/redc.vcproj b/client/windows/redc.vcproj
index 25ff3259..e0919c50 100644
--- a/client/windows/redc.vcproj
+++ b/client/windows/redc.vcproj
@@ -41,7 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories=".;..;&quot;..\..\common\win\my_getopt-1.5&quot;;..\..\common;&quot;$(SPICE_LIBS)\include&quot;;&quot;$(SPICE_LIBS)\include\qcairo&quot;;&quot;$(SPICE_LIBS)\include\ffmpeg&quot;"
+ AdditionalIncludeDirectories=".;..;..\..\common;..\..\common\win;&quot;..\..\common\win\my_getopt-1.5&quot;;&quot;$(SPICE_LIBS)\include&quot;;&quot;$(SPICE_LIBS)\include\qcairo&quot;;&quot;$(SPICE_LIBS)\include\ffmpeg&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;CAIRO_CANVAS_ACCESS_TEST;CAIRO_CANVAS_CACHE;CAIRO_CANVAS_CACH_IS_SHARED;RED_DEBUG;CAIRO_CANVAS_NO_CHUNKS;_WIN32_WINNT=0x0500;LOG4CPLUS_STATIC;USE_GLZ;PTW32_STATIC_LIB"
MinimalRebuild="false"
BasicRuntimeChecks="3"
@@ -124,7 +124,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories=".;..;&quot;..\..\common\win\my_getopt-1.5&quot;;..\..\common;&quot;$(SPICE_LIBS)\include&quot;;&quot;$(SPICE_LIBS)\include\qcairo&quot;;&quot;$(SPICE_LIBS)\include\ffmpeg&quot;"
+ AdditionalIncludeDirectories=".;..;..\..\common;..\..\common\win;&quot;..\..\common\win\my_getopt-1.5&quot;;&quot;$(SPICE_LIBS)\include&quot;;&quot;$(SPICE_LIBS)\include\qcairo&quot;;&quot;$(SPICE_LIBS)\include\ffmpeg&quot;"
PreprocessorDefinitions="WIN32;_WINDOWS;CAIRO_CANVAS_ACCESS_TEST;CAIRO_CANVAS_CACHE;CAIRO_CANVAS_NO_CHUNKS;CAIRO_CANVAS_CACH_IS_SHARED;_WIN32_WINNT=0x0500;LOG4CPLUS_STATIC;USE_GLZ;PTW32_STATIC_LIB"
RuntimeLibrary="0"
UsePrecompiledHeader="0"
diff --git a/client/x11/Makefile.am b/client/x11/Makefile.am
index 2bb1c853..9d87127b 100644
--- a/client/x11/Makefile.am
+++ b/client/x11/Makefile.am
@@ -12,6 +12,7 @@ INCLUDES = \
-I. \
-I.. \
-I$(top_srcdir)/common \
+ -I$(top_srcdir)/common/linux \
-I$(top_srcdir)/client \
$(GL_CFLAGS) \
$(ALSA_CFLAGS) \