diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/chown.c | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/lchown.c | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 55044bde5d..df97d148ec 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * libcsupport/src/chown.c, libcsupport/src/lchown.c: + Include <unistd.h>. Cleanup included headers. + +2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * posix/include/rtems/posix/pthread.h: Add _POSIX_Threads_Initialize_user_threads_body. * rtems/include/rtems/rtems/tasks.h: diff --git a/cpukit/libcsupport/src/chown.c b/cpukit/libcsupport/src/chown.c index 3cab985cad..9ecaea11f7 100644 --- a/cpukit/libcsupport/src/chown.c +++ b/cpukit/libcsupport/src/chown.c @@ -15,14 +15,10 @@ #include "config.h" #endif -#include <sys/stat.h> -#include <errno.h> +#include <unistd.h> #include <rtems.h> -#include <rtems/libio.h> - #include <rtems/libio_.h> -#include <rtems/seterr.h> int _chown_helper( const char *path, diff --git a/cpukit/libcsupport/src/lchown.c b/cpukit/libcsupport/src/lchown.c index c244e08879..1092f9017e 100644 --- a/cpukit/libcsupport/src/lchown.c +++ b/cpukit/libcsupport/src/lchown.c @@ -15,7 +15,7 @@ #include "config.h" #endif -#include <sys/stat.h> +#include <unistd.h> #include <rtems.h> |