summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-12-10 04:17:50 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-12-10 04:17:50 +0000
commit0ff3df03453e2b7ac2d6286be3395d304184a7ed (patch)
tree726dd0c91b3bb678a07ef91ffdae06531433f7d6 /cpukit/posix
parentf44f0c7dd5ce3a9433d1b114da6aead1ac8b6068 (diff)
downloadrtems-0ff3df03453e2b7ac2d6286be3395d304184a7ed.tar.bz2
2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/include/devctl.h, posix/include/intr.h, posix/include/mqueue.h, posix/include/sched.h, posix/include/semaphore.h, posix/src/ptimer.c, posix/src/ptimer1.c: Include <unistd.h> instead of <sys/features.h> to pick up _POSIX_* defines (Mandated by POSIX).
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/aio.h2
-rw-r--r--cpukit/posix/include/devctl.h2
-rw-r--r--cpukit/posix/include/intr.h2
-rw-r--r--cpukit/posix/include/mqueue.h2
-rw-r--r--cpukit/posix/include/sched.h2
-rw-r--r--cpukit/posix/include/semaphore.h2
-rw-r--r--cpukit/posix/src/ptimer.c2
-rw-r--r--cpukit/posix/src/ptimer1.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/posix/include/aio.h b/cpukit/posix/include/aio.h
index 49055344fb..bc1dc059bf 100644
--- a/cpukit/posix/include/aio.h
+++ b/cpukit/posix/include/aio.h
@@ -13,7 +13,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#if defined(_POSIX_ASYNCHRONOUS_IO)
diff --git a/cpukit/posix/include/devctl.h b/cpukit/posix/include/devctl.h
index af4fe21c1e..e21ba09132 100644
--- a/cpukit/posix/include/devctl.h
+++ b/cpukit/posix/include/devctl.h
@@ -13,7 +13,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#if defined(_POSIX_DEVICE_CONTROL)
diff --git a/cpukit/posix/include/intr.h b/cpukit/posix/include/intr.h
index 5f8b398099..ef62a676a3 100644
--- a/cpukit/posix/include/intr.h
+++ b/cpukit/posix/include/intr.h
@@ -17,7 +17,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
diff --git a/cpukit/posix/include/mqueue.h b/cpukit/posix/include/mqueue.h
index a0d2c29f4a..0f2d584cca 100644
--- a/cpukit/posix/include/mqueue.h
+++ b/cpukit/posix/include/mqueue.h
@@ -13,7 +13,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#if defined(_POSIX_MESSAGE_PASSING)
diff --git a/cpukit/posix/include/sched.h b/cpukit/posix/include/sched.h
index d5446bcab4..8603a138fa 100644
--- a/cpukit/posix/include/sched.h
+++ b/cpukit/posix/include/sched.h
@@ -14,7 +14,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#if defined(_POSIX_PRIORITY_SCHEDULING)
diff --git a/cpukit/posix/include/semaphore.h b/cpukit/posix/include/semaphore.h
index d792489334..b41a729eb4 100644
--- a/cpukit/posix/include/semaphore.h
+++ b/cpukit/posix/include/semaphore.h
@@ -13,7 +13,7 @@
extern "C" {
#endif
-#include <sys/features.h>
+#include <unistd.h>
#if defined(_POSIX_SEMAPHORES)
diff --git a/cpukit/posix/src/ptimer.c b/cpukit/posix/src/ptimer.c
index a2666c86f9..3bbf830356 100644
--- a/cpukit/posix/src/ptimer.c
+++ b/cpukit/posix/src/ptimer.c
@@ -21,7 +21,7 @@
/* These includes are now necessary */
/************************************/
-#include <sys/features.h>
+#include <unistd.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/rtems/timer.h>
diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c
index 368dff43ff..efecce0cf7 100644
--- a/cpukit/posix/src/ptimer1.c
+++ b/cpukit/posix/src/ptimer1.c
@@ -21,7 +21,7 @@
/* These includes are now necessary */
/************************************/
-#include <sys/features.h>
+#include <unistd.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/rtems/timer.h>