diff options
Diffstat (limited to 'xorg-server/dix/main.c')
-rw-r--r-- | xorg-server/dix/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/dix/main.c b/xorg-server/dix/main.c index 644f05b25..78cf716d2 100644 --- a/xorg-server/dix/main.c +++ b/xorg-server/dix/main.c @@ -156,6 +156,12 @@ int main(int argc, char *argv[], char *envp[]) display = "0";
#ifdef WIN32
+
+ if (InitWSA()<0)
+ {
+ printf("Error initialising WSA\n");
+ return -1;
+ }
/* In Win32 we have different threads call Xlib functions (depending
on the commandline options given).
XInitThreads has to be called before
|