diff options
author | Ran Benita <ran@unusedvar.com> | 2019-12-27 13:03:20 +0200 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2019-12-27 13:09:11 +0200 |
commit | 40aab05e77d746beca4119bb254e534e449f9130 (patch) | |
tree | a00ca09bbbdd5ae972fd479255b5b45db8ce6c61 /bench | |
parent | bdff8ebe3c0be4f55281a3ec7d70be753e2456c0 (diff) | |
download | xorg-lib-libxkbcommon-40aab05e77d746beca4119bb254e534e449f9130.tar.gz |
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 'bench')
-rw-r--r-- | bench/bench.c | 2 | ||||
-rw-r--r-- | bench/compose.c | 2 | ||||
-rw-r--r-- | bench/key-proc.c | 2 | ||||
-rw-r--r-- | bench/rules.c | 2 | ||||
-rw-r--r-- | bench/rulescomp.c | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/bench/bench.c b/bench/bench.c index 30889ef..2c5f23d 100644 --- a/bench/bench.c +++ b/bench/bench.c @@ -22,6 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <assert.h> #include <stdio.h> #include <sys/time.h> diff --git a/bench/compose.c b/bench/compose.c index bb949d8..6951bd5 100644 --- a/bench/compose.c +++ b/bench/compose.c @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <time.h> #include "xkbcommon/xkbcommon-compose.h" diff --git a/bench/key-proc.c b/bench/key-proc.c index c09b389..cee3dfa 100644 --- a/bench/key-proc.c +++ b/bench/key-proc.c @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <stdlib.h> #include <time.h> diff --git a/bench/rules.c b/bench/rules.c index 751370f..3206583 100644 --- a/bench/rules.c +++ b/bench/rules.c @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <time.h> #include "../test/test.h" diff --git a/bench/rulescomp.c b/bench/rulescomp.c index aecb37f..3972a7b 100644 --- a/bench/rulescomp.c +++ b/bench/rulescomp.c @@ -21,6 +21,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include <time.h> #include "../test/test.h" |