Fix test-cond link error.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2010 22:30:36 +0000 (23:30 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Mar 2010 22:30:36 +0000 (23:30 +0100)
ChangeLog
tests/test-cond.c

index a46373f8c44a5edf007961dc1c81c5d310c97e8f..2f0189e5d7322ae88597e507452a52a60993d780 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-07  Bruno Haible  <bruno@clisp.org>
+
+       Fix test-cond link error.
+       * tests/test-cond.c: Include <stdio.h>.
+
 2010-03-07  Bruno Haible  <bruno@clisp.org>
 
        Fix test-dirent-safer link error.
index f9ca22a6201bded07f3b74c27e0ab65847ef35aa..ca38229ce6eb46f67b2a6dec8170677b1835838e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of condition variables in multithreaded situations.
-   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2008-2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -198,6 +198,8 @@ main ()
 
 /* No multithreading available.  */
 
+#include <stdio.h>
+
 int
 main ()
 {