summaryrefslogtreecommitdiffstats
path: root/tests/test_decode1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_decode1.c')
-rw-r--r--tests/test_decode1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_decode1.c b/tests/test_decode1.c
index 362c404a..cc4688dc 100644
--- a/tests/test_decode1.c
+++ b/tests/test_decode1.c
@@ -1,9 +1,10 @@
#include <stdio.h>
-#include <string.h>
-#include <stddef.h>
#include <pb_decode.h>
#include "person.h"
+/* This test has only one source file anyway.. */
+#include "person.c"
+
bool print_person(pb_istream_t *stream)
{
int i;