/* 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
#define _TLS_H
#include <errno.h>
+#include <stdlib.h>
/* ========================================================================= */
/* Use the POSIX threads library. */
# include <pthread.h>
-# include <stdlib.h>
# if PTHREAD_IN_USE_DETECTION_HARD
/* Use the GNU Pth threads library. */
# include <pth.h>
-# include <stdlib.h>
# if USE_PTH_THREADS_WEAK
/* Use the old Solaris threads library. */
# include <thread.h>
-# include <stdlib.h>
# if USE_SOLARIS_THREADS_WEAK