about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/internals.h2
-rw-r--r--linuxthreads/no-tsd.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index cfd72cda72..db84707312 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -16,12 +16,12 @@
 
 /* Includes */
 
-#include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */
 #include <limits.h>
 #include <setjmp.h>
 #include <signal.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */
 
 #include "pt-machine.h"
 
diff --git a/linuxthreads/no-tsd.c b/linuxthreads/no-tsd.c
index ef79cb8320..f852ce01a7 100644
--- a/linuxthreads/no-tsd.c
+++ b/linuxthreads/no-tsd.c
@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <sys/cdefs.h>  /* for __P */
 #include <bits/libc-tsd.h>
 
 /* This file provides uinitialized (common) definitions for the