X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=utils%2Flxc%2Fpatches%2F015-getline.patch;fp=utils%2Flxc%2Fpatches%2F015-getline.patch;h=4a35ff1d346bf04502cb9b1f78fc1e8102d8da57;hb=9f43594e3a28deeea18cfa40acd0b1388e64f600;hp=c91e010c5c58559cb6a8289fcef3781c932270df;hpb=34a4678db31dc194a07c5ddd74ef350574acd593;p=feed%2Fpackages.git diff --git a/utils/lxc/patches/015-getline.patch b/utils/lxc/patches/015-getline.patch index c91e010c5c..4a35ff1d34 100644 --- a/utils/lxc/patches/015-getline.patch +++ b/utils/lxc/patches/015-getline.patch @@ -1,6 +1,6 @@ --- a/src/lxc/utils.h +++ b/src/lxc/utils.h -@@ -59,11 +59,7 @@ extern int mkdir_p(const char *dir, mode_t mode); +@@ -35,11 +35,7 @@ extern int mkdir_p(const char *dir, mode extern char *get_rundir(void); /* Define getline() if missing from the C library */ @@ -11,5 +11,5 @@ -#endif +#include "../include/getline.h" - /* Define setns() if missing from the C library */ - #ifndef HAVE_SETNS + static inline int lxc_set_cloexec(int fd) + {