projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421fafa
)
Don't include netinet/tcp.h in ser-tcp.c if __CYGWIN32__ defined
author
Geoffrey Noer
<noer@cygnus>
Fri, 6 Sep 1996 20:17:26 +0000
(20:17 +0000)
committer
Geoffrey Noer
<noer@cygnus>
Fri, 6 Sep 1996 20:17:26 +0000
(20:17 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/ser-tcp.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 7c25a777a4aa15da1d1bb72d18374e15f13ebbb0..0f0eb3339e85879b448221d1c1feebe1541e2951 100644
(file)
--- 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 1fb0db4e7fc13fc28ee2ad08ed547cf621b43575..23153a9d0dec8591da7d1538d60f1a49c4cdf2bd 100644
(file)
--- 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"