Required for prototype of usleep() when building for MinGW

Signed-off-by: Jon TURNEY <jon.tur...@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to