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 de34ce863..52e0640a3 100644
--- a/libXaw/src/TextAction.c
+++ b/libXaw/src/TextAction.c
@@ -48,6 +48,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