diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-04-21 13:23:54 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2015-05-07 20:04:08 +0100 |
commit | e435972e97a209144e49ec45731edef45265a03f (patch) | |
tree | 3d6c0fa5b02df09c727c60c89d0858d6e96bb736 | |
parent | 217c8ad8ee7690c24a9345941071c6befe6c68fb (diff) |
Include unistd.h for usleep() if HAVE_USLEEP
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: David Macek <david.macek.0@gmail.com>
-rw-r--r-- | xset.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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> |