diff options
Diffstat (limited to '')
-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> |