[Spice-devel] [PATCH 01/13] spice-experimental.h: add multiple include protection
Alon Levy
alevy at redhat.com
Mon Dec 6 08:15:54 PST 2010
---
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__
+
--
1.7.3.2
More information about the Spice-devel
mailing list