Remove unneeded headers.
Guard inclusion of fcntl.h.
While there, remove an obsoleted comment.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
#include <errno.h>
#include <netdb.h>
#include <stdio.h>
+#ifndef __ARCH_HAS_NO_LDSO__
#include <fcntl.h>
-#include <sys/stat.h>
-#include <sys/sysmacros.h>
+#endif
#ifdef __UCLIBC_HAS_THREADS_NATIVE__
#include <pthread-functions.h>
#include <not-cancel.h>
char **__environ = 0;
weak_alias(__environ, environ)
-/* TODO: don't export __pagesize; we cant now because libpthread uses it */
size_t __pagesize = 0;
#ifndef O_NOFOLLOW