From 2e88eb705bd584720d0940b4a5db5d99d1e9b38e Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 14 Aug 2015 17:02:05 +0200 Subject: [PATCH] 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. --- server/Makefile.am | 1 + server/spice-experimental.h | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 server/spice-experimental.h 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__