diff options
author | Adam Jackson <ajax@redhat.com> | 2019-06-17 13:36:08 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2019-06-17 14:17:29 -0400 |
commit | 0327c427d62f671eced067c6d9b69f4e216a8cac (patch) | |
tree | e5575206231aaafe9b8a96ff4939b4e936254b6c | |
parent | 57f0d421a1320090d3a4948181fe228d86cc8977 (diff) |
makekeys: Detach ourselves from X headers entirely
Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer
building makekeys with enough -I/foo/bar to find the X11 headers, so if
they're not in a system include path, things fail. Since this utility is
only needed at build time, there's no real reason to demand the X
headers be installed for both the build and target machines if cross-
compiling, we can just assume a vaguely ANSI environment instead.
Tested-by: Niclas Zeising <zeising@daemonic.se>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/util/makekeys.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/makekeys.c b/src/util/makekeys.c index bcb5b7d5..07563315 100644 --- a/src/util/makekeys.c +++ b/src/util/makekeys.c @@ -35,8 +35,10 @@ from The Open Group. #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <stdint.h> +#include <inttypes.h> -#include "../Xresinternal.h" +typedef uint32_t Signature; #define KTNUM 4000 |