2010-03-30 Ozkan Sezer <sezeroz@gmail.com>
authorTom Tromey <tromey@redhat.com>
Tue, 30 Mar 2010 18:08:04 +0000 (18:08 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 30 Mar 2010 18:08:04 +0000 (18:08 +0000)
* serial.h: Include winsock2.h before windows.h.

gdb/ChangeLog
gdb/serial.h

index f8fb777..17d4399 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-30  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * serial.h: Include winsock2.h before windows.h.
+
 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention xmlRegisters= in qSupported packet.
index 334a996..ecb3577 100644 (file)
@@ -21,6 +21,7 @@
 #define SERIAL_H
 
 #ifdef USE_WIN32API
+#include <winsock2.h>
 #include <windows.h>
 #endif