changeset 10808:8406463c58a7

Include config.h in all tests.
author Bruno Haible <bruno@clisp.org>
date Sat, 15 Nov 2008 13:33:04 +0100
parents 832c2d47db65
children bcb7763336d3
files tests/test-flock.c tests/test-iconvme.c tests/test-stpncpy.c
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-flock.c	Sat Nov 15 13:09:57 2008 +0100
+++ b/tests/test-flock.c	Sat Nov 15 13:33:04 2008 +0100
@@ -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>
--- a/tests/test-iconvme.c	Sat Nov 15 13:09:57 2008 +0100
+++ b/tests/test-iconvme.c	Sat Nov 15 13:33:04 2008 +0100
@@ -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>
 
--- a/tests/test-stpncpy.c	Sat Nov 15 13:09:57 2008 +0100
+++ b/tests/test-stpncpy.c	Sat Nov 15 13:33:04 2008 +0100
@@ -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>