summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/chown.c')
-rw-r--r--cpukit/libcsupport/src/chown.c6
1 files changed, 1 insertions, 5 deletions
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,