summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/threadlib.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-01-25 22:47:51 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:16:00 +0200
commita96449b095c3cf273ab9149799fa880944f88c86 (patch)
tree32c2941c0d90079e2f73d6e85bdc5fc19bcb78d4 /gettext-runtime/intl/threadlib.c
parente4c8ae3c7fd46f20eb3c86ad2c62e60875ece527 (diff)
downloadexternal_gettext-a96449b095c3cf273ab9149799fa880944f88c86.zip
external_gettext-a96449b095c3cf273ab9149799fa880944f88c86.tar.gz
external_gettext-a96449b095c3cf273ab9149799fa880944f88c86.tar.bz2
Update from gnulib.
Diffstat (limited to 'gettext-runtime/intl/threadlib.c')
-rw-r--r--gettext-runtime/intl/threadlib.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gettext-runtime/intl/threadlib.c b/gettext-runtime/intl/threadlib.c
index 84a2d0e..f62f46c 100644
--- a/gettext-runtime/intl/threadlib.c
+++ b/gettext-runtime/intl/threadlib.c
@@ -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;