summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/libbsdport/libbsdport.h
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-08-05 21:27:09 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-08-05 21:27:09 +0000
commit325ddf3adc84334da3b024eb70f9e748891be17a (patch)
treebd3960b7a2a88b68f5b61e4a2a6a1613bd5b19de /bsd_eth_drivers/libbsdport/libbsdport.h
parent2009-06-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadlibbsdport-325ddf3adc84334da3b024eb70f9e748891be17a.tar.bz2
2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>
* libbsdport/libbsdport.h: define _KERNEL only if not defined already (e.g., from Makefile).
Diffstat (limited to '')
-rw-r--r--bsd_eth_drivers/libbsdport/libbsdport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd_eth_drivers/libbsdport/libbsdport.h b/bsd_eth_drivers/libbsdport/libbsdport.h
index cb233bb..4f0bbf8 100644
--- a/bsd_eth_drivers/libbsdport/libbsdport.h
+++ b/bsd_eth_drivers/libbsdport/libbsdport.h
@@ -4,7 +4,9 @@
#include <rtems.h>
#include <sys/param.h>
+#ifndef _KERNEL
#define _KERNEL
+#endif
#include <rtems/rtems_bsdnet.h>
#include <rtems/rtems_bsdnet_internal.h>