aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/KeysymStr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/KeysymStr.c')
-rw-r--r--libX11/src/KeysymStr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libX11/src/KeysymStr.c b/libX11/src/KeysymStr.c
index c7c470468..00483085a 100644
--- a/libX11/src/KeysymStr.c
+++ b/libX11/src/KeysymStr.c
@@ -34,6 +34,7 @@ in this Software without prior written authorization from The Open Group.
#include "Xresinternal.h"
#include <stdio.h> /* sprintf */
+#include <unistd.h> /* snprintf */
#define NEEDVTABLE
#include "ks_tables.h"