aports/testing/lxd/fix-ppc64le-build.patch
Roberto Oliveira 8827ab5d75 testing/lxd: fix ppc64le build
On systems without glibc, you might lack definition of
PATH_MAX. This patch adds the limits.h header to solve this issue.
2018-04-02 10:45:32 +00:00

11 lines
288 B
Diff

--- a/dist/src/github.com/lxc/lxd/lxd/main_forkfile.go
+++ b/dist/src/github.com/lxc/lxd/lxd/main_forkfile.go
@@ -17,6 +17,7 @@
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <limits.h>
extern char* advance_arg(bool required);
extern void error(char *msg);