diff options
Diffstat (limited to 'common/util.c')
-rw-r--r-- | common/util.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/util.c b/common/util.c index f0b0fdf0..f2302676 100644 --- a/common/util.c +++ b/common/util.c | |||
@@ -1,10 +1,13 @@ | |||
1 | #include <math.h> | 1 | #include <math.h> |
2 | #include <stdint.h> | ||
2 | #include <stdio.h> | 3 | #include <stdio.h> |
3 | #include <string.h> | ||
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
5 | #include <string.h> | ||
6 | #include <wlc/wlc.h> | ||
7 | #include <xkbcommon/xkbcommon-names.h> | ||
8 | #include "log.h" | ||
5 | #include "readline.h" | 9 | #include "readline.h" |
6 | #include "util.h" | 10 | #include "util.h" |
7 | #include "log.h" | ||
8 | 11 | ||
9 | int wrap(int i, int max) { | 12 | int wrap(int i, int max) { |
10 | return ((i % max) + max) % max; | 13 | return ((i % max) + max) % max; |