commit 33ee03b33880d44ff6830da7a1a8f5330cb1582c
parent 1fa2e9598edaa241c5e67326c9e8ff5734563eb2
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 13 Sep 2013 19:38:39 -0700
xkb: Add include guards
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/libswc/xkb.h b/libswc/xkb.h
@@ -1,6 +1,9 @@
#include <stdbool.h>
#include <xkbcommon/xkbcommon.h>
+#ifndef SWC_XKB_H
+#define SWC_XKB_H 1
+
struct swc_xkb
{
struct xkb_context * context;
@@ -26,3 +29,5 @@ void swc_xkb_finish(struct swc_xkb * xkb);
bool swc_xkb_update_keymap(struct swc_xkb * xkb);
+#endif
+