summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys
diff options
context:
space:
mode:
authorKevin Kirspel <kevin-kirspel@idexx.com>2017-05-17 08:40:32 -0400
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-05-19 07:24:30 +0200
commitfb2aa6ea99e5e93a5d190a6b0bd9c9c0ea6ed99e (patch)
treebb26a331702d6662324842e08d69527ec9d7b997 /freebsd/sys/sys
parentModify FREEBSD EVDEV driver for use in RTEMS (diff)
downloadrtems-libbsd-fb2aa6ea99e5e93a5d190a6b0bd9c9c0ea6ed99e.tar.bz2
Add bitcount inlinesfor RTEMS. These are found in FREEBSDs types.h
Diffstat (limited to 'freebsd/sys/sys')
-rw-r--r--freebsd/sys/sys/bitstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/sys/bitstring.h b/freebsd/sys/sys/bitstring.h
index 18c91878..8fd9b25a 100644
--- a/freebsd/sys/sys/bitstring.h
+++ b/freebsd/sys/sys/bitstring.h
@@ -68,6 +68,9 @@
#endif
#include <sys/types.h>
+#ifdef __rtems__
+#include <machine/bitstring.h>
+#endif /* __rtems__ */
typedef unsigned long bitstr_t;