[PATCH lib/libXaw] Include <unistd.h>

Jon TURNEY jon.turney at dronecode.org.uk
Thu Mar 19 07:18:27 PDT 2015


Required for prototype of usleep() when building for MinGW

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 src/TextAction.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/TextAction.c b/src/TextAction.c
index 74446d6..6363259 100644
--- a/src/TextAction.c
+++ b/src/TextAction.c
@@ -29,6 +29,7 @@ in this Software without prior written authorization from The Open Group.
 #endif
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <X11/Xos.h>		/* for select() and struct timeval */
 #include <ctype.h>
 #include <X11/IntrinsicP.h>
-- 
2.3.2



More information about the xorg-devel mailing list