1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net/ceph14/files/patch-src_test_libcephfs_lazyio.cc
Dima Panov 563f1f874e net/ceph14: Update to 14.2.8, enable libcephfs to be built
PR:		244675
Submitted by:	fluffy, Willem Jan Withagen (based on)
Approved by:	Willem Jan Withagen (maintainer)
Relnotes:	https://ceph.io/releases/v14-2-8-nautilus-released/
2020-04-27 18:29:20 +00:00

16 lines
305 B
C++

--- src/test/libcephfs/lazyio.cc.orig 2020-03-02 17:49:20 UTC
+++ src/test/libcephfs/lazyio.cc
@@ -21,7 +21,12 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
+#ifdef __linux__
#include <sys/xattr.h>
+#endif
+#ifdef __FreeBSD__
+#include <sys/wait.h>
+#endif
rados_t cluster;