Merge pull request #170 from hnyman/add-license-info
[feed/packages.git] / utils / lxc / patches / 015-getline.patch
1 --- a/src/lxc/utils.h
2 +++ b/src/lxc/utils.h
3 @@ -44,11 +44,7 @@ extern char *get_rundir(void);
4 extern const char *lxc_global_config_value(const char *option_name);
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