Commit e937a2aa by Philipp

Fixed includes for FreeBSD.

parent 1e987525
...@@ -273,10 +273,16 @@ cl_fs_cleanup(void) ...@@ -273,10 +273,16 @@ cl_fs_cleanup(void)
# include <sys/sendfile.h> # include <sys/sendfile.h>
#endif #endif
#if defined(__APPLE__) || defined(__FreeBSD__) #if defined(__APPLE__)
# include <copyfile.h> # include <copyfile.h>
#endif #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) static void basename_r(const char **out, int *out_len, const char *in)
{ {
size_t in_len = strlen(in), start_pos; size_t in_len = strlen(in), start_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment