This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
RedBoot: src/net/tcp.h -- include missing header
- From: David Vrabel <dvrabel at arcom dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Tue, 30 Sep 2003 16:44:15 +0100
- Subject: RedBoot: src/net/tcp.h -- include missing header
- Organization: Arcom Control Systems Ltd
Missing header file in RedBoot's src/net/tcp.h needed for diag_printf().
2003-09-30 David Vrabel <dvrabel@arcom.com>
* src/net/tcp.c: Include missing <cyg/infra/diag.h>.
David Vrabel
--
David Vrabel, Design Engineer
Arcom Tel: +44 (0)1223 411200 ext. 3233
Clifton Road Fax: +44 (0)1223 403400
Cambridge CB1 7EA E-mail: dvrabel@arcom.com
UK Web: http://www.arcom.com/
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________
===================================================================
RCS file: /var/cvs/ecos/packages/redboot/current/src/net/tcp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ecos/packages/redboot/current/src/net/tcp.c 2003/05/29 10:55:50 1.1
+++ ecos/packages/redboot/current/src/net/tcp.c 2003/09/30 15:38:38 1.2
@@ -53,6 +53,7 @@
//==========================================================================
#include <net/net.h>
+#include <cyg/infra/diag.h>
#define MAX_TCP_SEGMENT (ETH_MAX_PKTLEN - (sizeof(eth_header_t) + sizeof(ip_header_t)))
#define MAX_TCP_DATA (MAX_TCP_SEGMENT - sizeof(tcp_header_t))