This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Don't include <netinet/udp.h>
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 May 2002 15:51:39 -0400
- Subject: PATCH: Don't include <netinet/udp.h>
The UDP support in ser-tcp.c doesn't need any UDP-specific information, so
there's no need to include <netinet/udp.h> - and Cygwin doesn't have it.
I've just removed the include.
Committed as obvious.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
2002-05-16 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/546
* ser-tcp.c: Don't include <netinet/udp.h>.
Index: ser-tcp.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-tcp.c,v
retrieving revision 1.11
diff -u -r1.11 ser-tcp.c
--- ser-tcp.c 14 May 2002 04:26:24 -0000 1.11
+++ ser-tcp.c 16 May 2002 19:49:50 -0000
@@ -38,7 +38,6 @@
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
-#include <netinet/udp.h>
#include <signal.h>
#include "gdb_string.h"