bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: threadlib: avoid warning


From: Bruno Haible
Subject: Re: threadlib: avoid warning
Date: Sun, 25 Jan 2009 23:44:57 +0100
User-agent: KMail/1.9.9

And another warning: abort() used but <stdlib.h> not included. Fix:


2009-01-25  Bruno Haible  <address@hidden>

        * lib/glthread/threadlib.c: Include <stdlib.h>.

--- lib/glthread/threadlib.c.orig       2009-01-25 23:43:45.000000000 +0100
+++ lib/glthread/threadlib.c    2009-01-25 23:42:40.000000000 +0100
@@ -26,6 +26,7 @@
 /* Use the POSIX threads library.  */
 
 # include <pthread.h>
+# include <stdlib.h>
 
 # if PTHREAD_IN_USE_DETECTION_HARD
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]