aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libXaw/src/TextAction.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libXaw/src/TextAction.c b/libXaw/src/TextAction.c
index 4db9cdf16..8f9fdd285 100644
--- a/libXaw/src/TextAction.c
+++ b/libXaw/src/TextAction.c
@@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group.
#define XawTextActionMaxHexChars 100
+#ifdef _MSC_VER
+#define usleep(time) Sleep(time)
+#endif
/*
* Prototypes
*/