summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-16 14:45:32 +0300
committerRan Benita <ran234@gmail.com>2012-09-16 15:20:18 +0300
commitb21107056e0540489669bb35fcb3abe1b5b46ecd (patch)
treef718e6ef359f1d2e75e3d0723e91b7f9bf5beff1 /src/utils.h
parente670d084a6b4431de2ef3b5395c1473ba4b73725 (diff)
Organize src/ and test/ headers
- Add context.h and move context-related functions from xkb-priv.h to it. - Move xkb_context definition back to context.c. - Add keysym.h and move keysym upper/lower/keypad from xkb-priv.h to it. - Rename xkb-priv.h to map.h since it only contains keymap-related definitions and declarations now. - Remove unnecessary includes and some and some other small cleanups. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 6f5233b..9f0505c 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -24,8 +24,12 @@
#ifndef UTILS_H
#define UTILS_H 1
+#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
+#include <strings.h>
+
+#include "darray.h"
/*
* We sometimes malloc strings and then expose them as const char*'s. This