summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxreaddir
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxreaddir')
-rw-r--r--testsuites/psxtests/psxreaddir/main.c4
-rw-r--r--testsuites/psxtests/psxreaddir/test.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxreaddir/main.c b/testsuites/psxtests/psxreaddir/main.c
index 563b683fb6..c964bcdfe8 100644
--- a/testsuites/psxtests/psxreaddir/main.c
+++ b/testsuites/psxtests/psxreaddir/main.c
@@ -4,6 +4,10 @@
#define CONFIGURE_INIT
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <bsp.h>
#include <pmacros.h>
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index 142dfc3c26..25377fd08e 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -25,6 +25,10 @@
* $Id$
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>