summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/fork.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-10 05:34:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-10 05:34:15 +0000
commit4172953cc4527ad87dcb9c08ed5a65a71ddf4407 (patch)
treef4aa78a3b6ecedb4be4b53bd912087f3148ee8f5 /cpukit/posix/src/fork.c
parent2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4172953cc4527ad87dcb9c08ed5a65a71ddf4407.tar.bz2
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype. Don't include <sys/types.h> (unnecessary).
Diffstat (limited to 'cpukit/posix/src/fork.c')
-rw-r--r--cpukit/posix/src/fork.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/fork.c b/cpukit/posix/src/fork.c
index f0023e2978..1503a438af 100644
--- a/cpukit/posix/src/fork.c
+++ b/cpukit/posix/src/fork.c
@@ -15,7 +15,8 @@
#include "config.h"
#endif
-#include <sys/types.h>
+#include <unistd.h>
+
#include <errno.h>
#include <rtems/seterr.h>