015-getline.patch (390B)
1 --- a/src/lxc/utils.h 2 +++ b/src/lxc/utils.h 3 @@ -41,11 +41,7 @@ extern int mkdir_p(const char *dir, 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