summaryrefslogtreecommitdiff
path: root/gdb/serial.h
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 /gdb/serial.h
parent88f14853f8f1ac3a0461ab2ae2aec030aea0a159 (diff)
downloadbinutils-gdb-98e5a990dd8e097a646be504f3517cfeb4759603.tar.gz
2010-03-30 Ozkan Sezer <sezeroz@gmail.com>
* serial.h: Include winsock2.h before windows.h.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 334a996e6b0..ecb357706e9 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