summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/io_mock.c1
-rw-r--r--tests/io_mock.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/io_mock.c b/tests/io_mock.c
index c04e9c5a9..4828e53ca 100644
--- a/tests/io_mock.c
+++ b/tests/io_mock.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <include/test.h>
#include "io_mock.h"
static const struct io_mock *current_io = NULL;
diff --git a/tests/io_mock.h b/tests/io_mock.h
index 3af5de47c..935e84b26 100644
--- a/tests/io_mock.h
+++ b/tests/io_mock.h
@@ -31,6 +31,8 @@
#ifndef _IO_MOCK_H_
#define _IO_MOCK_H_
+#include <include/test.h>
+
/* Required for `FILE *` */
#include <stdio.h>