summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/stdint.h')
-rw-r--r--freebsd/sys/sys/stdint.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/freebsd/sys/sys/stdint.h b/freebsd/sys/sys/stdint.h
index 98915f72..44384d24 100644
--- a/freebsd/sys/sys/stdint.h
+++ b/freebsd/sys/sys/stdint.h
@@ -36,8 +36,10 @@
#ifndef __rtems__
#include <machine/_stdint.h>
-#endif /* __rtems__ */
#include <sys/_stdint.h>
+#else /* __rtems__ */
+#include <stdint.h>
+#endif /* __rtems__ */
#ifndef __rtems__
typedef __int_least8_t int_least8_t;