From c1136180cc5a0f991244129609f0e5d1af19b13a Mon Sep 17 00:00:00 2001 From: Nikolaus Klepp Date: Thu, 11 Jun 2015 03:00:34 +0200 Subject: Fix FTBFS on freebsd This resolves Bug 2431 Signed-off-by: Nikolaus Klepp (cherry picked from commit 3be9f300c9a754320a02fd10a729ef797ffb8506) --- kdeprint/cups/make_driver_db_cups.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kdeprint/cups') diff --git a/kdeprint/cups/make_driver_db_cups.cpp b/kdeprint/cups/make_driver_db_cups.cpp index d1c556242..bc6e4383b 100644 --- a/kdeprint/cups/make_driver_db_cups.cpp +++ b/kdeprint/cups/make_driver_db_cups.cpp @@ -19,6 +19,9 @@ **/ #include +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* Needed for getline */ +#endif #include #include #include -- cgit v1.2.1