ulogd: moved to github
[openwrt.org/packages.git] / utils / 015-getline.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/src/lxc/utils.h
+++ b/src/lxc/utils.h
@@ -44,11 +44,7 @@ extern char *get_rundir(void);
 extern const char *lxc_global_config_value(const char *option_name);
 
 /* Define getline() if missing from the C library */
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
-#include <../include/getline.h>
-#endif
-#endif
+#include "../include/getline.h"
 
 /* Define setns() if missing from the C library */
 #ifndef HAVE_SETNS
 
comments