summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xset.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xset.c b/xset.c
index 98f552f..95da41b 100644
--- a/xset.c
+++ b/xset.c
@@ -53,6 +53,9 @@ in this Software without prior written authorization from The Open Group.
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
+#ifdef HAVE_USLEEP
+#include <unistd.h>
+#endif
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <X11/Xlib.h>