From 4610a13b765dcf1ee612334de2922e5d5bfb0d9c Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Tue, 20 Oct 2009 23:46:58 +0000 Subject: 2009-10-20 Till Straumann * libbsdport/libbsdport.h, if_em/e1000_osdep.h: We need __BSD_VISIBLE defined. Some things in the rtems headers changed with 4.10 (can't pinpoint the details). We now #define __INSIDE_RTEMS_BSD_TCPIP_STACK__ before explicitly including and this seemed to fix things for 4.10. --- bsd_eth_drivers/libbsdport/libbsdport.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bsd_eth_drivers/libbsdport/libbsdport.h') diff --git a/bsd_eth_drivers/libbsdport/libbsdport.h b/bsd_eth_drivers/libbsdport/libbsdport.h index de6eb9b..24d8da7 100644 --- a/bsd_eth_drivers/libbsdport/libbsdport.h +++ b/bsd_eth_drivers/libbsdport/libbsdport.h @@ -2,14 +2,19 @@ #define RTEMS_COMPAT_DEFS_H #include -#include #ifndef _KERNEL #define _KERNEL #endif +#ifndef __INSIDE_RTEMS_BSD_TCPIP_STACK__ +#define __INSIDE_RTEMS_BSD_TCPIP_STACK__ +#endif + #include #include +#include + #include #include -- cgit v1.2.3