lxc: bump to 4.0.2
[feed/packages.git] / utils / lxc / patches / 015-getline.patch
index c91e010c5c58559cb6a8289fcef3781c932270df..4a35ff1d346bf04502cb9b1f78fc1e8102d8da57 100644 (file)
@@ -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)
+ {