[Spice-devel] [PATCH 01/13] spice-experimental.h: add multiple include protection
Hans de Goede
hdegoede at redhat.com
Tue Dec 7 02:12:19 PST 2010
Ack.
On 12/06/2010 05:15 PM, Alon Levy wrote:
> ---
> server/spice-experimental.h | 8 +++++++-
> 1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/server/spice-experimental.h b/server/spice-experimental.h
> index 7c1fdf2..526062f 100644
> --- a/server/spice-experimental.h
> +++ b/server/spice-experimental.h
> @@ -1,5 +1,9 @@
> -/* char device interfaces */
> +#ifndef __SPICE_EXPERIMENTAL_H__
> +#define __SPICE_EXPERIMENTAL_H__
> +
> +#include "spice.h"
>
> +/* char device interfaces */
> #define SPICE_INTERFACE_CHAR_DEVICE "char_device"
> #define SPICE_INTERFACE_CHAR_DEVICE_MAJOR 1
> #define SPICE_INTERFACE_CHAR_DEVICE_MINOR 1
> @@ -63,3 +67,5 @@ int spice_server_migrate_start(SpiceServer *s);
> int spice_server_migrate_client_state(SpiceServer *s);
> int spice_server_migrate_end(SpiceServer *s, int completed);
>
> +#endif // __SPICE_EXPERIMENTAL_H__
> +
More information about the Spice-devel
mailing list