summaryrefslogtreecommitdiffstats
path: root/server/spice-experimental.h
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/spice-experimental.h
parentc615ebb01c11faf7db72938472dc70a1dd12c5ba (diff)
downloadspice-2e88eb705bd584720d0940b4a5db5d99d1e9b38e.tar.gz
spice-2e88eb705bd584720d0940b4a5db5d99d1e9b38e.tar.xz
spice-2e88eb705bd584720d0940b4a5db5d99d1e9b38e.zip
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/spice-experimental.h')
-rw-r--r--server/spice-experimental.h6
1 files changed, 6 insertions, 0 deletions
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__