aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-03-30 18:08:04 +0000
committerTom Tromey <tromey@redhat.com>2010-03-30 18:08:04 +0000
commit98e5a990dd8e097a646be504f3517cfeb4759603 (patch)
tree433b991739a02f6c5ee9a103a558589164e9c2af
parent88f14853f8f1ac3a0461ab2ae2aec030aea0a159 (diff)
downloadgdb-98e5a990dd8e097a646be504f3517cfeb4759603.zip
gdb-98e5a990dd8e097a646be504f3517cfeb4759603.tar.gz
gdb-98e5a990dd8e097a646be504f3517cfeb4759603.tar.bz2
2010-03-30 Ozkan Sezer <sezeroz@gmail.com>
* serial.h: Include winsock2.h before windows.h.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/serial.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f8fb777..17d4399 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/serial.h b/gdb/serial.h
index 334a996..ecb3577 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -21,6 +21,7 @@
#define SERIAL_H
#ifdef USE_WIN32API
+#include <winsock2.h>
#include <windows.h>
#endif