summaryrefslogtreecommitdiff
path: root/host/src/fcall_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/src/fcall_param.c')
-rw-r--r--host/src/fcall_param.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/src/fcall_param.c b/host/src/fcall_param.c
index f3c699c846..e05b9254ca 100644
--- a/host/src/fcall_param.c
+++ b/host/src/fcall_param.c
@@ -18,12 +18,13 @@
#include <string.h>
#include <stdio.h>
-#include <unistd.h>
#include <errno.h>
#include "host/inc/fcall.h"
#ifndef UNIT_TEST
#include "lib/swap.h"
+#include "host/inc/syscall.h"
#else /* UNIT_TEST */
+#include <unistd.h>
#include <arpa/inet.h>
#endif /* UNIT_TEST */