summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-08-14 17:02:05 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-08-26 11:01:09 +0200
commit2e88eb705bd584720d0940b4a5db5d99d1e9b38e (patch)
treef77ec653cf243180fa6ec7717667900207b73ccb /server
parentc615ebb01c11faf7db72938472dc70a1dd12c5ba (diff)
server: Readd spice-experimental.h
Commit 3c6b4e41 removed spice-experimental.h as this header was not used, nor supposed to be used. However, QEMU had been including it (without using any of its symbols) until commit v2.3.0-rc0~135^2~1 As this is fairly recent (Nov 2014), building older QEMUs with new spice-server releases, or even bisecting QEMU will be broken as they will be looking for a no-longer available header. This commit readds a spice-experimental.h file, however it only contains a #warning indicating this file is deprecated. This means older QEMU will build now, but only if they were configured with --disable-werror.
Diffstat (limited to 'server')
-rw-r--r--server/Makefile.am1
-rw-r--r--server/spice-experimental.h6
2 files changed, 7 insertions, 0 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index 09b44984..db1249d7 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -52,6 +52,7 @@ libspice_serverinclude_HEADERS = \
spice-audio.h \
spice-char.h \
spice-core.h \
+ spice-experimental.h \
spice-input.h \
spice-migration.h \
spice-qxl.h \
diff --git a/server/spice-experimental.h b/server/spice-experimental.h
new file mode 100644
index 00000000..ad8abac4
--- /dev/null
+++ b/server/spice-experimental.h
@@ -0,0 +1,6 @@
+#ifndef __SPICE_EXPERIMENTAL_H__
+#define __SPICE_EXPERIMENTAL_H__
+
+#warning spice-experimental.h is deprecated
+
+#endif // __SPICE_EXPERIMENTAL_H__