This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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]

Net - compatabilty workaround


This fixes a minor conflict with the new Linux compatibility package.

Index: net/bsd_tcpip/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/bsd_tcpip/current/ChangeLog,v
retrieving revision 1.12
diff -u -5 -p -r1.12 ChangeLog
--- net/bsd_tcpip/current/ChangeLog	3 Dec 2002 17:22:45 -0000	1.12
+++ net/bsd_tcpip/current/ChangeLog	4 Feb 2003 22:55:03 -0000
@@ -1,5 +1,11 @@
+2003-02-04  Gary Thomas  <gary@mlbassoc.com>
+
+	* include/sys/bsdtypes.h: Workaround when building with new
+	Linux compatability package (which over-defines some symols
+	defined in this module).
+
 2002-12-03  Gary Thomas  <gthomas@ecoscentric.com>
 
 	* src/ecos/support.c (show_network_tables): New function to
 	print information about network tables (interfaces, routing).
 
Index: net/bsd_tcpip/current/include/sys/bsdtypes.h
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/bsd_tcpip/current/include/sys/bsdtypes.h,v
retrieving revision 1.1
diff -u -5 -p -r1.1 bsdtypes.h
--- net/bsd_tcpip/current/include/sys/bsdtypes.h	20 May 2002 22:25:01 -0000	1.1
+++ net/bsd_tcpip/current/include/sys/bsdtypes.h	4 Feb 2003 22:00:55 -0000
@@ -24,10 +24,13 @@
 
 #include <cyg/infra/cyg_type.h>
 #include <cyg/hal/hal_arch.h>
 
 #define	__BIT_TYPES_DEFINED__
+#undef uint8_t
+#undef uint16_t
+#undef uint32_t
 typedef	__signed char		   int8_t;
 typedef	unsigned char		 u_int8_t;
 typedef	unsigned char		  uint8_t;
 typedef	short			  int16_t;
 typedef	unsigned short		u_int16_t;

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


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