aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/TextAction.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/src/TextAction.c')
-rw-r--r--libXaw/src/TextAction.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libXaw/src/TextAction.c b/libXaw/src/TextAction.c
index 7b87ce4b0..74446d68c 100644
--- a/libXaw/src/TextAction.c
+++ b/libXaw/src/TextAction.c
@@ -47,6 +47,10 @@ in this Software without prior written authorization from The Open Group.
#include "Private.h"
#include "XawI18n.h"
+#ifdef _WIN32
+#include <X11/Xwinsock.h>
+#endif
+
#define SrcScan XawTextSourceScan
#define FindDist XawTextSinkFindDistance
#define FindPos XawTextSinkFindPosition