summaryrefslogtreecommitdiffstats
path: root/common
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 /common
parent7498ef3b666b0587e6dd94b40e1371c69937d628 (diff)
downloadspice-402a201ce6f56dbbedb641edc912295d79bf7a3b.tar.gz
spice-402a201ce6f56dbbedb641edc912295d79bf7a3b.tar.xz
spice-402a201ce6f56dbbedb641edc912295d79bf7a3b.zip
fix build on Debian
Diffstat (limited to 'common')
-rw-r--r--common/linux/ffmpeg_inc.h.in12
-rw-r--r--common/win/ffmpeg_inc.h4
2 files changed, 16 insertions, 0 deletions
diff --git a/common/linux/ffmpeg_inc.h.in b/common/linux/ffmpeg_inc.h.in
new file mode 100644
index 00000000..7e322b51
--- /dev/null
+++ b/common/linux/ffmpeg_inc.h.in
@@ -0,0 +1,12 @@
+
+#ifdef __GNUG__
+extern "C" {
+#endif
+
+#include "@AVCODEC_PREFIX@avcodec.h"
+
+#ifdef __GNUG__
+}
+#endif
+
+
diff --git a/common/win/ffmpeg_inc.h b/common/win/ffmpeg_inc.h
new file mode 100644
index 00000000..8d4473ff
--- /dev/null
+++ b/common/win/ffmpeg_inc.h
@@ -0,0 +1,4 @@
+
+extern "C" {
+#include "libavcodec/avcodec.h"
+}