From: Bruno Haible Date: Sun, 17 Aug 2008 16:33:47 +0000 (+0200) Subject: Include always. X-Git-Tag: v0.1~7144 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b36e040fbeddd1e4f4550e9c774f8918f5ded6c0;p=gnulib.git Include always. --- diff --git a/ChangeLog b/ChangeLog index 0f1b7b300..af705e81e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-17 Bruno Haible + + * lib/glthread/lock.h: Include always. + * lib/glthread/tls.h: Likewise. + * lib/glthread/cond.h: Likewise. + 2008-08-17 Yoann Vandoorselaere New module 'cond'. diff --git a/lib/glthread/cond.h b/lib/glthread/cond.h index e8ed12ced..2fb7df5dc 100644 --- a/lib/glthread/cond.h +++ b/lib/glthread/cond.h @@ -51,6 +51,7 @@ #include #include +#include #include "glthread/lock.h" @@ -61,7 +62,6 @@ /* Use the POSIX threads library. */ # include -# include # ifdef __cplusplus extern "C" { @@ -149,7 +149,6 @@ typedef pthread_cond_t gl_cond_t; /* Use the GNU Pth threads library. */ # include -# include # ifdef __cplusplus extern "C" { @@ -206,7 +205,6 @@ extern int glthread_cond_timedwait_multithreaded (gl_cond_t *cond, gl_lock_t *lo # include # include -# include # ifdef __cplusplus extern "C" { diff --git a/lib/glthread/lock.h b/lib/glthread/lock.h index 65b1b83ab..fd749415d 100644 --- a/lib/glthread/lock.h +++ b/lib/glthread/lock.h @@ -80,6 +80,7 @@ #define _LOCK_H #include +#include /* ========================================================================= */ @@ -88,7 +89,6 @@ /* Use the POSIX threads library. */ # include -# include # ifdef __cplusplus extern "C" { @@ -382,7 +382,6 @@ extern int glthread_once_singlethreaded (pthread_once_t *once_control); /* Use the GNU Pth threads library. */ # include -# include # ifdef __cplusplus extern "C" { @@ -492,7 +491,6 @@ extern int glthread_once_singlethreaded (pth_once_t *once_control); # include # include -# include # ifdef __cplusplus extern "C" { diff --git a/lib/glthread/tls.h b/lib/glthread/tls.h index 9a0333693..42f03acc7 100644 --- a/lib/glthread/tls.h +++ b/lib/glthread/tls.h @@ -44,6 +44,7 @@ #define _TLS_H #include +#include /* ========================================================================= */ @@ -52,7 +53,6 @@ /* Use the POSIX threads library. */ # include -# include # if PTHREAD_IN_USE_DETECTION_HARD @@ -120,7 +120,6 @@ typedef union /* Use the GNU Pth threads library. */ # include -# include # if USE_PTH_THREADS_WEAK @@ -174,7 +173,6 @@ typedef union /* Use the old Solaris threads library. */ # include -# include # if USE_SOLARIS_THREADS_WEAK