[PATCH 2/2] Drop <unistd.h> include from RTEMS <sys/param.h>

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 7 10:58:44 UTC 2016


This include is not present in default Newlib, glibc and FreeBSD
<sys/param.h>.  With it there is now a conflict with <sys/libkern.h>
introduced by ecf453f9635fb278cff4d4bae21a1e249313b817.

Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>
---
 newlib/libc/sys/rtems/include/sys/param.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/newlib/libc/sys/rtems/include/sys/param.h b/newlib/libc/sys/rtems/include/sys/param.h
index aa04352..db9786b 100644
--- a/newlib/libc/sys/rtems/include/sys/param.h
+++ b/newlib/libc/sys/rtems/include/sys/param.h
@@ -47,8 +47,6 @@
 
 /* end of from newlib's <sys/param.h> */
 
-#include <unistd.h>
-
 #define	BSD	199506		/* System version (year & month). */
 #define BSD4_3	1
 #define BSD4_4	1
-- 
1.8.4.5




More information about the devel mailing list