mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
On systems without glibc, you might lack definition of PATH_MAX. This patch adds the limits.h header to solve this issue.
11 lines
288 B
Diff
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);
|