summaryrefslogtreecommitdiff
path: root/test/rmlvo-to-keymap.c
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2019-12-27 13:03:20 +0200
committerRan Benita <ran@unusedvar.com>2019-12-27 13:09:11 +0200
commit40aab05e77d746beca4119bb254e534e449f9130 (patch)
treea00ca09bbbdd5ae972fd479255b5b45db8ce6c61 /test/rmlvo-to-keymap.c
parentbdff8ebe3c0be4f55281a3ec7d70be753e2456c0 (diff)
downloadlibxkbcommon-40aab05e77d746beca4119bb254e534e449f9130.tar.gz
libxkbcommon-40aab05e77d746beca4119bb254e534e449f9130.tar.bz2
libxkbcommon-40aab05e77d746beca4119bb254e534e449f9130.zip
build: include config.h manually
Previously we included it with an `-include` compiler directive. But that's not portable. And it's better to be explicit anyway. Every .c file should have `include "config.h"` first thing. Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'test/rmlvo-to-keymap.c')
-rw-r--r--test/rmlvo-to-keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rmlvo-to-keymap.c b/test/rmlvo-to-keymap.c
index c7b5dbd..3a98527 100644
--- a/test/rmlvo-to-keymap.c
+++ b/test/rmlvo-to-keymap.c
@@ -21,6 +21,7 @@
* DEALINGS IN THE SOFTWARE.
*/
+#include "config.h"
#include <assert.h>
#include <errno.h>
@@ -29,6 +30,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+
#include "xkbcommon/xkbcommon.h"
static bool print = false;