1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/ceph/make-sure-PATH_MAX-is-defined.patch
Roberto Oliveira 735b9096d2 testing/ceph: enable build on ppc64le
The patch applied downstream is already merged upstream at:
https://github.com/ceph/ceph/pull/18615
2017-10-30 23:14:49 +00:00

19 lines
636 B
Diff

From 972c34465d1f78cc2e2ebe53192905d378c1541e Mon Sep 17 00:00:00 2001
From: Roberto Oliveira <robertoguimaraes8@gmail.com>
Date: Sun, 29 Oct 2017 14:05:48 +0000
Subject: [PATCH] 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 <robertoguimaraes8@gmail.com>
--- a/src/rbd_fuse/rbd-fuse.cc
+++ b/src/rbd_fuse/rbd-fuse.cc
@@ -19,6 +19,7 @@
#include <getopt.h>
#include <assert.h>
#include <string>
+#include <limits.h>
#if defined(__FreeBSD__)
#include <sys/param.h>