From: Roberto Oliveira Date: Sun, 29 Oct 2017 14:05:48 +0000 (+0000) Subject: rbd-fuse: make sure PATH_MAX is defined X-Git-Tag: v13.0.1~368^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18615%2Fhead;p=ceph.git rbd-fuse: make sure PATH_MAX is defined On systems without glibc, as Alpine Linux, you might lack definition of PATH_MAX. This patch adds the limits.h header to solve this issue. Signed-off-by: Roberto Oliveira --- diff --git a/src/rbd_fuse/rbd-fuse.cc b/src/rbd_fuse/rbd-fuse.cc index 6295097ca7f..68a33e4bbcc 100644 --- a/src/rbd_fuse/rbd-fuse.cc +++ b/src/rbd_fuse/rbd-fuse.cc @@ -20,6 +20,7 @@ #include #include #include +#include #if defined(__FreeBSD__) #include