summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/io_mock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/io_mock.h b/tests/io_mock.h
index 979806683..04b0ef528 100644
--- a/tests/io_mock.h
+++ b/tests/io_mock.h
@@ -38,6 +38,10 @@
#include <stdint.h>
+/* Required for struct timeval and mode_t */
+#include <sys/types.h>
+#include <sys/time.h>
+
#include "usb_unittests.h"
/* Address value needs fit into uint8_t. */