Don't include netinet/tcp.h in ser-tcp.c if __CYGWIN32__ defined
authorGeoffrey Noer <noer@cygnus>
Fri, 6 Sep 1996 20:17:26 +0000 (20:17 +0000)
committerGeoffrey Noer <noer@cygnus>
Fri, 6 Sep 1996 20:17:26 +0000 (20:17 +0000)
gdb/ChangeLog
gdb/ser-tcp.c

index 7c25a77..0f0eb33 100644 (file)
@@ -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:
index 1fb0db4..23153a9 100644 (file)
@@ -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"