lxc: bump to 2.1.0
[feed/packages.git] / utils / lxc / patches / 015-getline.patch
1 --- a/src/lxc/utils.h
2 +++ b/src/lxc/utils.h
3 @@ -59,11 +59,7 @@ extern int mkdir_p(const char *dir, mode_t mode);
4 extern char *get_rundir(void);
5
6 /* Define getline() if missing from the C library */
7 -#ifndef HAVE_GETLINE
8 -#ifdef HAVE_FGETLN
9 -#include <../include/getline.h>
10 -#endif
11 -#endif
12 +#include "../include/getline.h"
13
14 /* Define setns() if missing from the C library */
15 #ifndef HAVE_SETNS