summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 14:23:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 14:23:50 +0200
commit666a56883ad2ae7757689f28cee2b9b80582bcd6 (patch)
treeabba696a18f5f084997a5acf5779d1b0ede57ee8 /freebsd/sys/sys
parentBUS_SPACE(9): 64-bit support (diff)
downloadrtems-libbsd-666a56883ad2ae7757689f28cee2b9b80582bcd6.tar.bz2
Include missing <string.h> and <limits.h>
Fix warnings. Update #2132. Update #2133.
Diffstat (limited to 'freebsd/sys/sys')
-rw-r--r--freebsd/sys/sys/systm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h
index ee799320..90c11bb1 100644
--- a/freebsd/sys/sys/systm.h
+++ b/freebsd/sys/sys/systm.h
@@ -44,6 +44,9 @@
#include <sys/cdefs.h>
#include <sys/queue.h>
#include <sys/stdint.h> /* for people using printf mainly */
+#ifdef __rtems__
+#include <string.h>
+#endif /* __rtems__ */
__NULLABILITY_PRAGMA_PUSH