summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-27 11:12:44 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-31 11:18:17 +0100
commitd8d6a08d4677e6c68fc94b7d182e3af61c3fd76e (patch)
treeb8ef1e0ecaf0792533d9b6aae95c050e83766fe2 /c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c
parentepiphany: Workaround until next Newlib snapshot (diff)
downloadrtems-d8d6a08d4677e6c68fc94b7d182e3af61c3fd76e.tar.bz2
bsps: Move network define to source files
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c b/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c
index f7d7b61f5d..ce108bd825 100644
--- a/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c
+++ b/c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c
@@ -20,6 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
+#define __INSIDE_RTEMS_BSD_TCPIP_STACK__
+
#include <bsp.h>
#include <libchip/sonic.h>
#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS)