PATCH: Don't include <netinet/udp.h>

Daniel Jacobowitz drow@mvista.com
Thu May 16 12:51:00 GMT 2002


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"



More information about the Gdb-patches mailing list