Commit 25796416 by Stéphane Graber Committed by GitHub

Merge pull request #1103 from brauner/2016-07-27/fix_android_getline

bdev: include own getline function in bdev.h
parents 813d7f14 8c2e2e8f
...@@ -33,6 +33,13 @@ ...@@ -33,6 +33,13 @@
#include "config.h" #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 */ /* define constants if the kernel/glibc headers don't define them */
#ifndef MS_DIRSYNC #ifndef MS_DIRSYNC
#define MS_DIRSYNC 128 #define MS_DIRSYNC 128
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment