aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
index 5d42b780..8e65e6d6 100644
--- a/include/util.h
+++ b/include/util.h
@@ -1,4 +1,9 @@
+#ifndef _SWAY_UTIL_H
+#define _SWAY_UTIL_H
+
/**
* Wrap i into the range [0, max[
*/
int wrap(int i, int max);
+
+#endif