diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2012-01-02 03:11:59 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-10-25 13:01:29 +0100 |
commit | e360c7c86b9229ee9fe24b97aba2bfee5df05748 (patch) | |
tree | 5aa99d8021d123403c29d1ab644c3289339b067a /src | |
parent | ffaad7ee2ef6e06b4585567df04f6b64356fb6fe (diff) | |
download | xorg-lib-libXaw-e360c7c86b9229ee9fe24b97aba2bfee5df05748.tar.gz |
Include winsock header on WIN32 to provide fd_set etc.
v2: also link with ws2_32 on MinGW
Signed-off-by: Ryan Pavlik <rpavlik@iastate.edu>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/TextAction.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/TextAction.c b/src/TextAction.c index 7b87ce4..74446d6 100644 --- a/src/TextAction.c +++ b/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 |