]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Include <stdlib.h> always.
authorBruno Haible <bruno@clisp.org>
Sun, 17 Aug 2008 16:36:46 +0000 (16:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:48 +0000 (12:15 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/lock.h

index af4d209a6d36965f29a9d773e5120ed90be25b1c..0395842ef16db95fb78edf2fd8aa4a935eafe48d 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * lock.h: Include <stdlib.h> always.
+
 2008-08-17  Bruno Haible  <bruno@clisp.org>
 
        * threadlib.c: New file, extracted from lock.c.
index 9c5003831bc3bceb5338c7e216d424304218be37..7b0d26dc393811125e0bf27699a0ebfd2266881b 100644 (file)
@@ -81,6 +81,7 @@
 #define _LOCK_H
 
 #include <errno.h>
+#include <stdlib.h>
 
 /* ========================================================================= */
 
@@ -89,7 +90,6 @@
 /* Use the POSIX threads library.  */
 
 # include <pthread.h>
-# include <stdlib.h>
 
 # ifdef __cplusplus
 extern "C" {
@@ -383,7 +383,6 @@ extern int glthread_once_singlethreaded (pthread_once_t *once_control);
 /* Use the GNU Pth threads library.  */
 
 # include <pth.h>
-# include <stdlib.h>
 
 # ifdef __cplusplus
 extern "C" {
@@ -493,7 +492,6 @@ extern int glthread_once_singlethreaded (pth_once_t *once_control);
 
 # include <thread.h>
 # include <synch.h>
-# include <stdlib.h>
 
 # ifdef __cplusplus
 extern "C" {