]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Revert "Merge pull request #1103 from brauner/2016-07-27/fix_android_getline" 1104/head
authorChristian Brauner <cbrauner@suse.de>
Thu, 28 Jul 2016 08:56:46 +0000 (10:56 +0200)
committerChristian Brauner <cbrauner@suse.de>
Thu, 28 Jul 2016 08:56:46 +0000 (10:56 +0200)
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 <cbrauner@suse.de>
src/lxc/bdev/bdev.h

index 1ffb590aa1ada08d220c8fdd64bbc15312e136e2..3f21e840435de10e2b51ee8752d71d53e6d54cc3 100644 (file)
 
 #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