summaryrefslogtreecommitdiff
path: root/host/src/station.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/src/station.c')
-rw-r--r--host/src/station.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/host/src/station.c b/host/src/station.c
index 9b38f40488..ed9a3b58c4 100644
--- a/host/src/station.c
+++ b/host/src/station.c
@@ -17,17 +17,18 @@
*/
#include <stdio.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
#include <string.h>
+#include <sys/types.h>
#include <errno.h>
#include "ecos/packages/hal/maximus/arch/current/include/hal_host_intr.h"
#include "host/inc/sci.h"
#include "host/inc/station.h"
#ifndef UNIT_TEST
#include "host/inc/syscall.h"
+#else
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/stat.h>
#endif
/* awfull, but needed */