@@ -16,6 +16,7 @@
#include <sys/types.h>
#include <sys/syscall.h>
#include <bits/kernel_types.h>
+#include <bits/kernel-features.h>
/* With newer versions of linux, the getdents syscall returns d_type
* information after the name field.
@@ -13,7 +13,7 @@
/* GNU Library General Public License for more details. */
#include <signal.h>
-#include <kernel-features.h>
/* Primitives for controlling thread execution */
@@ -25,7 +25,7 @@
#ifndef PT_EI
# define PT_EI __extern_always_inline
#endif
-#include "kernel-features.h"
#ifndef __ASSEMBLER__
extern long int testandset (int *spinlock);
@@ -20,7 +20,7 @@
#include <errno.h>
#include <pthread.h>
#include "internals.h"
/* This implementation is similar to the one used in the Linux kernel.
@@ -23,7 +23,7 @@
#include <time.h>
#include <internals.h>
#include <spinlock.h>
#include <kernel-posix-cpu-timers.h>
@@ -6,7 +6,7 @@
#include <bits/uClibc_page.h>
#ifdef IS_IN_libpthread
#ifndef __GLIBC_HAVE_LONG_LONG
# define __GLIBC_HAVE_LONG_LONG
#include <sysdep-cancel.h>
#define _ERRNO_H 1
#include <bits/errno.h>
/* Clone the calling process, but without copying the whole address space.
The calling process is suspended until the new process exits or is
@@ -19,7 +19,7 @@
@@ -24,7 +24,7 @@
#include <linuxthreads/internals.h>
void
__pthread_sigsuspend (const sigset_t *set)