aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-10 10:58:34 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 10:19:47 -0500
commit9d868d4517be12226991b2cc55d11bc0f83ea7b2 (patch)
treeaad02a338dedfc49fb0f79c4c1d59e271e903c0e
parent96729cbd293f47ca06fcb8ff3570a4c9a8328469 (diff)
qemu-option.h include protectors
qemu-option.h has no protection against including it twice. This patch adds the usual "#ifndef header" bits. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--qemu-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-config.h b/qemu-config.h
index 08629deb99..e49d715091 100644
--- a/qemu-config.h
+++ b/qemu-config.h
@@ -1,4 +1,9 @@
+#ifndef QEMU_CONFIG_H
+#define QEMU_CONFIG_H
+
extern QemuOptsList qemu_drive_opts;
extern QemuOptsList qemu_device_opts;
int qemu_set_option(const char *str);
+
+#endif /* QEMU_CONFIG_H */