diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:46:58 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 23:46:58 +0000 |
commit | 4610a13b765dcf1ee612334de2922e5d5bfb0d9c (patch) | |
tree | 00ce21917217a28832940213b28ac28c9536ecd4 /bsd_eth_drivers/libbsdport | |
parent | 2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de> (diff) | |
download | libbsdport-4610a13b765dcf1ee612334de2922e5d5bfb0d9c.tar.bz2 |
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* 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 <rtems/rtems_bsdnet.h> and this seemed to fix
things for 4.10.
Diffstat (limited to 'bsd_eth_drivers/libbsdport')
-rw-r--r-- | bsd_eth_drivers/libbsdport/libbsdport.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <rtems.h> -#include <sys/param.h> #ifndef _KERNEL #define _KERNEL #endif +#ifndef __INSIDE_RTEMS_BSD_TCPIP_STACK__ +#define __INSIDE_RTEMS_BSD_TCPIP_STACK__ +#endif + #include <rtems/rtems_bsdnet.h> #include <rtems/rtems_bsdnet_internal.h> +#include <sys/param.h> + #include <inttypes.h> #include <string.h> |