summaryrefslogtreecommitdiff
path: root/test/raidfile/intercept.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/raidfile/intercept.cpp')
-rw-r--r--test/raidfile/intercept.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/raidfile/intercept.cpp b/test/raidfile/intercept.cpp
index 6df344e1..0a5b4ab9 100644
--- a/test/raidfile/intercept.cpp
+++ b/test/raidfile/intercept.cpp
@@ -14,7 +14,11 @@
#endif
#include <sys/types.h>
#include <unistd.h>
+
+#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
+#endif
+
#include <errno.h>
#ifndef PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE