diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 05:34:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 05:34:15 +0000 |
commit | 4172953cc4527ad87dcb9c08ed5a65a71ddf4407 (patch) | |
tree | f4aa78a3b6ecedb4be4b53bd912087f3148ee8f5 /cpukit | |
parent | 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/ChangeLog | 7 | ||||
-rw-r--r-- | cpukit/posix/src/fork.c | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c705f3e411..9f9b120cb2 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 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). + +2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> + PR 1985/cpukit * telnetd/Makefile.am: Remove icmds.c. @@ -236,8 +241,6 @@ Include <rtems/posix/semaphore.h> (Missing prototypes). * posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler static. - * posix/src/fork.c: Include <unistd.h> for "fork" prototype. - Don't include <sys/types.h> (unnecessary). * libcsupport/src/termios.c: Remove unnecessary cast. * libmisc/shell/main_mv.c: Add prototype for main_mv. 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> |