We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e98752 commit e937a2aCopy full SHA for e937a2a
tests/clar/fs.h
@@ -273,10 +273,16 @@ cl_fs_cleanup(void)
273
# include <sys/sendfile.h>
274
#endif
275
276
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__)
277
# include <copyfile.h>
278
279
280
+#if defined(__FreeBSD__)
281
+#include <sys/types.h>
282
+#include <sys/socket.h>
283
+#include <sys/uio.h>
284
+#endif
285
+
286
static void basename_r(const char **out, int *out_len, const char *in)
287
{
288
size_t in_len = strlen(in), start_pos;
0 commit comments