Include config.h in all tests.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Nov 2008 12:33:04 +0000 (13:33 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Nov 2008 12:33:04 +0000 (13:33 +0100)
tests/test-flock.c
tests/test-iconvme.c
tests/test-stpncpy.c

index a1872cd..f71532e 100644 (file)
@@ -14,6 +14,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#include <config.h>
+
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
index 58e8c5c..3cf26c8 100644 (file)
@@ -15,6 +15,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#include <config.h>
+
 #include <stdlib.h>
 #include <stdio.h>
 
index c890379..128bee3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test the system defined function stpncpy().
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2008 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
@@ -14,6 +14,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#include <config.h>
+
 #include <string.h>
 #include <stdio.h>