packages/utils/lxc/patches/015-getline.patch
luka 94b23b6e44 [packages] lxc: bump to latest git version
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 14:20:39 +00:00

26 lines
482 B
Diff

--- a/src/lxc/lxc_snapshot.c
+++ b/src/lxc/lxc_snapshot.c
@@ -32,6 +32,8 @@
#include "arguments.h"
#include "utils.h"
+#include <../include/getline.h>
+
lxc_log_define(lxc_snapshot, lxc);
char *newname;
--- a/src/lxc/lxc_user_nic.c
+++ b/src/lxc/lxc_user_nic.c
@@ -43,11 +43,7 @@
#include <linux/sockios.h>
#include "config.h"
-#ifndef HAVE_GETLINE
-#ifdef HAVE_FGETLN
#include <../include/getline.h>
-#endif
-#endif
#if ISTEST
#define CONF_FILE "/tmp/lxc-usernet"