Sebastian Huber
2018-08-23 12:51:28 UTC
Add __nl_item to <sys/_types.h> for FreeBSD compatibility. This type is
used by some FreeBSD user-space header files.
Signed-off-by: Sebastian Huber <***@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
index d8e8c0b52..fc10531d5 100644
--- a/newlib/libc/include/sys/_types.h
+++ b/newlib/libc/include/sys/_types.h
@@ -210,6 +210,7 @@ typedef __uint8_t __sa_family_t;
typedef __uint32_t __socklen_t;
#endif
+typedef int __nl_item;
typedef unsigned short __nlink_t;
typedef long __suseconds_t; /* microseconds (signed) */
typedef unsigned long __useconds_t; /* microseconds (unsigned) */
used by some FreeBSD user-space header files.
Signed-off-by: Sebastian Huber <***@embedded-brains.de>
---
newlib/libc/include/sys/_types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
index d8e8c0b52..fc10531d5 100644
--- a/newlib/libc/include/sys/_types.h
+++ b/newlib/libc/include/sys/_types.h
@@ -210,6 +210,7 @@ typedef __uint8_t __sa_family_t;
typedef __uint32_t __socklen_t;
#endif
+typedef int __nl_item;
typedef unsigned short __nlink_t;
typedef long __suseconds_t; /* microseconds (signed) */
typedef unsigned long __useconds_t; /* microseconds (unsigned) */
--
2.13.7
2.13.7