summaryrefslogtreecommitdiff
path: root/test/argp
diff options
context:
space:
mode:
Diffstat (limited to 'test/argp')
-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>