This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]