]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update from gnulib.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Jan 2009 22:47:51 +0000 (22:47 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:16:00 +0000 (12:16 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/threadlib.c

index be0cefa3c22f47ebb5418181a40ddb7d90a9c301..da21dc39f7dc30dc17b63b7b1e86e23d7cf92799 100644 (file)
@@ -1,3 +1,11 @@
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * threadlib.c: Include <stdlib.h>.
+
+2009-01-25  Bruno Haible  <bruno@clisp.org>
+
+       * threadlib.c (dummy): New declaration.
+
 2009-01-25  Bruno Haible  <bruno@clisp.org>
 
        Don't install charset.alias on MacOS X >= 10.3.
index 84a2d0ec6d12da7ff0dd8ca6420df74da9a2d5f5..f62f46c82f9a588b556aac37557fbdfb4e3fb739 100644 (file)
@@ -1,5 +1,5 @@
 /* Multithreading primitives.
-   Copyright (C) 2005-2008 Free Software Foundation, Inc.
+   Copyright (C) 2005-2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
@@ -27,6 +27,7 @@
 /* Use the POSIX threads library.  */
 
 # include <pthread.h>
+# include <stdlib.h>
 
 # if PTHREAD_IN_USE_DETECTION_HARD
 
@@ -68,3 +69,7 @@ glthread_in_use (void)
 #endif
 
 /* ========================================================================= */
+
+/* This declaration is solely to ensure that after preprocessing
+   this file is never empty.  */
+typedef int dummy;