Fixed includes for FreeBSD.
diff --git a/tests/clar/fs.h b/tests/clar/fs.h
index 87d3451..cdd8b15 100644
--- a/tests/clar/fs.h
+++ b/tests/clar/fs.h
@@ -273,10 +273,16 @@ cl_fs_cleanup(void)
# include <sys/sendfile.h>
#endif
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__)
# include <copyfile.h>
#endif
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/uio.h>
+#endif
+
static void basename_r(const char **out, int *out_len, const char *in)
{
size_t in_len = strlen(in), start_pos;