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.
This commit is contained in:
Christophe Fergeau 2015-08-14 17:02:05 +02:00
parent c615ebb01c
commit 2e88eb705b
2 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,7 @@ libspice_serverinclude_HEADERS = \
spice-audio.h \ spice-audio.h \
spice-char.h \ spice-char.h \
spice-core.h \ spice-core.h \
spice-experimental.h \
spice-input.h \ spice-input.h \
spice-migration.h \ spice-migration.h \
spice-qxl.h \ spice-qxl.h \

View File

@ -0,0 +1,6 @@
#ifndef __SPICE_EXPERIMENTAL_H__
#define __SPICE_EXPERIMENTAL_H__
#warning spice-experimental.h is deprecated
#endif // __SPICE_EXPERIMENTAL_H__