From 284146162f6bf1c7c270e9b9dcd33ec775bddd82 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 30 Aug 2014 23:38:11 -0400 Subject: [PATCH] Portability - Added _WITH_GETLINE for FreeBSD. --- src/util.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util.cpp b/src/util.cpp index 3ce9657c1..49699b744 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -39,6 +39,11 @@ #include #include #include +// If is included, put it after , because it includes +// , and therefore would ignore the _WITH_GETLINE. +#ifdef FREEBSD +#define _WITH_GETLINE +#endif #include #include #include