fsusage: Clarify which code applies to which platforms.
[gnulib.git] / lib / glthread / tls.h
index 9a03336..e39623f 100644 (file)
@@ -1,5 +1,5 @@
 /* Thread-local storage in multithreaded situations.
-   Copyright (C) 2005, 2007-2008 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2007-2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -44,6 +44,7 @@
 #define _TLS_H
 
 #include <errno.h>
+#include <stdlib.h>
 
 /* ========================================================================= */
 
@@ -52,7 +53,6 @@
 /* Use the POSIX threads library.  */
 
 # include <pthread.h>
-# include <stdlib.h>
 
 # if PTHREAD_IN_USE_DETECTION_HARD
 
@@ -120,7 +120,6 @@ typedef union
 /* Use the GNU Pth threads library.  */
 
 # include <pth.h>
-# include <stdlib.h>
 
 # if USE_PTH_THREADS_WEAK
 
@@ -174,7 +173,6 @@ typedef union
 /* Use the old Solaris threads library.  */
 
 # include <thread.h>
-# include <stdlib.h>
 
 # if USE_SOLARIS_THREADS_WEAK