aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1996-09-06 20:17:26 +0000
committerGeoffrey Noer <noer@cygnus>1996-09-06 20:17:26 +0000
commit94a42c63943e82716c2ad48a58fa3218adc00173 (patch)
treef4f6c1ac339a22cfb235d02f7e890e7d32bdc576 /gdb/ser-tcp.c
parent421fafa29ea7543ad0e511fdea7c7fb53595cd26 (diff)
downloadgdb-94a42c63943e82716c2ad48a58fa3218adc00173.zip
gdb-94a42c63943e82716c2ad48a58fa3218adc00173.tar.gz
gdb-94a42c63943e82716c2ad48a58fa3218adc00173.tar.bz2
Don't include netinet/tcp.h in ser-tcp.c if __CYGWIN32__ defined
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 1fb0db4..23153a9 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -25,7 +25,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>
+
+#ifndef __CYGWIN32__
#include <netinet/tcp.h>
+#endif
+
#include "signals.h"
#include "gdb_string.h"