summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-18 08:28:51 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-18 08:28:51 +0100
commit7e73c627630a8b902e8822c8d1ee40ae3a44f563 (patch)
tree4802144eb5a730b32b63412f2b396018db14b28a /test
parentc9b9876cefc142a23aa622b821290ed16af80058 (diff)
add missing include so that tests are not skipped
Diffstat (limited to 'test')
-rw-r--r--test/argp/bug-argp1.c2
-rw-r--r--test/argp/tst-argp1.c2
-rw-r--r--test/argp/tst-argp2.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/test/argp/bug-argp1.c b/test/argp/bug-argp1.c
index 39b573d..341e6ae 100644
--- a/test/argp/bug-argp1.c
+++ b/test/argp/bug-argp1.c
@@ -1,3 +1,5 @@
+#include <stdio.h>
+
#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__UCLIBC_HAS_ARGP__)
#include <argp.h>
diff --git a/test/argp/tst-argp1.c b/test/argp/tst-argp1.c
index c3be15d..b6d3834 100644
--- a/test/argp/tst-argp1.c
+++ b/test/argp/tst-argp1.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>.  */
+#include <stdio.h>
+
#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__UCLIBC_HAS_ARGP__)
#include <argp.h>
diff --git a/test/argp/tst-argp2.c b/test/argp/tst-argp2.c
index 0e521a9..6e210e4 100644
--- a/test/argp/tst-argp2.c
+++ b/test/argp/tst-argp2.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>.  */
+#include <stdio.h>
+
#if (defined(__GLIBC__) && !defined(__UCLIBC__)) || defined(__UCLIBC_HAS_ARGP__)
#include <argp.h>