Include winsock2.h before windows.h, to avoid compilation errors with

2005-02-11  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
	compilation errors with MSVC. (#167105)
This commit is contained in:
Tor Lillqvist 2005-02-11 22:43:32 +00:00 committed by Tor Lillqvist
parent 92c6ff18cb
commit ab908b3c45
5 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-11 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
compilation errors with MSVC. (#167105)
2005-02-10 Matthias Clasen <mclasen@redhat.com> 2005-02-10 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): Take main group options into * glib/goption.c (print_help): Take main group options into

View File

@ -1,3 +1,8 @@
2005-02-11 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
compilation errors with MSVC. (#167105)
2005-02-10 Matthias Clasen <mclasen@redhat.com> 2005-02-10 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): Take main group options into * glib/goption.c (print_help): Take main group options into

View File

@ -1,3 +1,8 @@
2005-02-11 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
compilation errors with MSVC. (#167105)
2005-02-10 Matthias Clasen <mclasen@redhat.com> 2005-02-10 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): Take main group options into * glib/goption.c (print_help): Take main group options into

View File

@ -1,3 +1,8 @@
2005-02-11 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
compilation errors with MSVC. (#167105)
2005-02-10 Matthias Clasen <mclasen@redhat.com> 2005-02-10 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (print_help): Take main group options into * glib/goption.c (print_help): Take main group options into

View File

@ -38,8 +38,8 @@
#include "glib.h" #include "glib.h"
#include <stdlib.h> #include <stdlib.h>
#include <windows.h>
#include <winsock2.h> #include <winsock2.h>
#include <windows.h>
#include <fcntl.h> #include <fcntl.h>
#include <io.h> #include <io.h>
#include <process.h> #include <process.h>