diff options
author | Geoffrey Noer <noer@cygnus> | 1996-09-06 20:17:26 +0000 |
---|---|---|
committer | Geoffrey Noer <noer@cygnus> | 1996-09-06 20:17:26 +0000 |
commit | 94a42c63943e82716c2ad48a58fa3218adc00173 (patch) | |
tree | f4f6c1ac339a22cfb235d02f7e890e7d32bdc576 /gdb | |
parent | 421fafa29ea7543ad0e511fdea7c7fb53595cd26 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ser-tcp.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7c25a77..0f0eb33 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com> + + * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__ + Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com> * config/i386/cygwin32.mh: 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" |