[rtems-libbsd commit] Adjust <sys/stdint.h> for latest Newlib

Sebastian Huber sebh at rtems.org
Mon May 30 14:18:18 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    b36759105edb353e4c803438430464182d484b61
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b36759105edb353e4c803438430464182d484b61

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr 18 14:46:03 2016 +0200

Adjust <sys/stdint.h> for latest Newlib

---

 freebsd/sys/sys/stdint.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/freebsd/sys/sys/stdint.h b/freebsd/sys/sys/stdint.h
index 3a9931b..4c3bbd8 100644
--- a/freebsd/sys/sys/stdint.h
+++ b/freebsd/sys/sys/stdint.h
@@ -34,8 +34,10 @@
 
 #ifndef __rtems__
 #include <machine/_stdint.h>
+#endif /* __rtems__ */
 #include <sys/_stdint.h>
 
+#ifndef __rtems__
 typedef	__int_least8_t		int_least8_t;
 typedef	__int_least16_t		int_least16_t;
 typedef	__int_least32_t		int_least32_t;




More information about the vc mailing list