Include <pthread.h>.
authorBruno Haible <bruno@clisp.org>
Mon, 18 Aug 2008 10:44:48 +0000 (12:44 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 18 Aug 2008 10:44:48 +0000 (12:44 +0200)
ChangeLog
lib/glthread/threadlib.c

index 5f017b5..bc8db38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-08-18  Bruno Haible  <bruno@clisp.org>
 
+       * lib/glthread/threadlib.c: Include <pthread.h>.
+
+2008-08-18  Bruno Haible  <bruno@clisp.org>
+
        * lib/glthread/lock.h [USE_SOLARIS_THREADS]: Fix
        glthread_recursive_lock_* macros.
        * lib/glthread/lock.c (glthread_recursive_lock_destroy_multithreaded):
index a1601de..c121952 100644 (file)
@@ -25,6 +25,8 @@
 
 /* Use the POSIX threads library.  */
 
+# include <pthread.h>
+
 # if PTHREAD_IN_USE_DETECTION_HARD
 
 /* The function to be executed by a dummy thread.  */