summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-08-29 17:16:26 +0300
committerAlon Levy <alevy@redhat.com>2010-12-06 18:09:14 +0200
commit14f2b0f52a48b987f5ae5bde06820081ad50af3d (patch)
treeef9f258c4e1c219cdf391f575e219ff1f0046826
parentdc8946f9f49a2683748ba42dc6a85a7e68ad69bc (diff)
downloadspice-14f2b0f52a48b987f5ae5bde06820081ad50af3d.tar.gz
spice-14f2b0f52a48b987f5ae5bde06820081ad50af3d.tar.xz
spice-14f2b0f52a48b987f5ae5bde06820081ad50af3d.zip
spice-experimental.h: add multiple include protection
-rw-r--r--server/spice-experimental.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/spice-experimental.h b/server/spice-experimental.h
index 7c1fdf2d..526062f3 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__
+