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 f8fb777464eab7bad574eb3b7d080489c8df3aa4..17d4399d94d60ecd66714618caaf7197e3af06f2 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 334a996e6b03ee57bbf0822fbc9f399172dd1d1d..ecb357706e92509735be166e1cfd6eef59bee1ff 100644 (file)
@@ -21,6 +21,7 @@
 #define SERIAL_H
 
 #ifdef USE_WIN32API
+#include <winsock2.h>
 #include <windows.h>
 #endif