summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKenji Aoyama <aoyama@cvs.openbsd.org>2019-09-05 14:03:09 +0000
committerKenji Aoyama <aoyama@cvs.openbsd.org>2019-09-05 14:03:09 +0000
commit30835e679bfd4d4a067e396fe4906ed5c40f7a93 (patch)
tree76342f93caa5c714d59a33799a7c876a769ef9ca /lib
parente0511c906864bcb35499ccb3876423c7c24c3d81 (diff)
Fix gcc3 specific error. The diff is based on latest upstream change.
suggested by jsg@, tested on luna88k by me, ok by jsg@ and matthieu@
Diffstat (limited to 'lib')
-rw-r--r--lib/libX11/src/util/makekeys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libX11/src/util/makekeys.c b/lib/libX11/src/util/makekeys.c
index bcb5b7d59..075633155 100644
--- a/lib/libX11/src/util/makekeys.c
+++ b/lib/libX11/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