This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 2/2] Drop <unistd.h> include from RTEMS <sys/param.h>
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Cc: devel at rtems dot org, Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Thu, 7 Apr 2016 12:58:44 +0200
- Subject: [PATCH 2/2] Drop <unistd.h> include from RTEMS <sys/param.h>
- Authentication-results: sourceware.org; auth=none
- References: <1460026724-14238-1-git-send-email-sebastian dot huber at embedded-brains dot de>
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@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