From 061f2b8a2b2ba6a6a37b67bece5585f7aa603eb7 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 28 Jul 2016 10:56:46 +0200 Subject: [PATCH] Revert "Merge pull request #1103 from brauner/2016-07-27/fix_android_getline" This reverts commit 25796416084f3cecf036bd922d6ead094500191e, reversing changes made to 813d7f1453e6e28adc0fdfac62d9c4597a87e430. Contrary to what we suspected the android build errors were not caused by missing wrong relative include paths. Rather, they were caused by autoconf. Signed-off-by: Christian Brauner --- src/lxc/bdev/bdev.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lxc/bdev/bdev.h b/src/lxc/bdev/bdev.h index 1ffb590aa..3f21e8404 100644 --- a/src/lxc/bdev/bdev.h +++ b/src/lxc/bdev/bdev.h @@ -33,13 +33,6 @@ #include "config.h" -/* Define getline() if missing from the C library */ -#ifndef HAVE_GETLINE -#ifdef HAVE_FGETLN -#include <../../include/getline.h> -#endif -#endif - /* define constants if the kernel/glibc headers don't define them */ #ifndef MS_DIRSYNC #define MS_DIRSYNC 128