+2008-08-17 Bruno Haible <bruno@clisp.org>
+
+ * lib/glthread/lock.h: Include <stdlib.h> always.
+ * lib/glthread/tls.h: Likewise.
+ * lib/glthread/cond.h: Likewise.
+
2008-08-17 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
New module 'cond'.
#include <errno.h>
#include <stdbool.h>
+#include <stdlib.h>
#include "glthread/lock.h"
/* Use the POSIX threads library. */
# include <pthread.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
/* Use the GNU Pth threads library. */
# include <pth.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
# include <thread.h>
# include <synch.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
#define _LOCK_H
#include <errno.h>
+#include <stdlib.h>
/* ========================================================================= */
/* Use the POSIX threads library. */
# include <pthread.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
/* Use the GNU Pth threads library. */
# include <pth.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
# include <thread.h>
# include <synch.h>
-# include <stdlib.h>
# ifdef __cplusplus
extern "C" {
#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