From 91b7be12b453c1f0a6f3d5ff70778dedba0a690d 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) --- tdeprint/ppdloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tdeprint/ppdloader.cpp') diff --git a/tdeprint/ppdloader.cpp b/tdeprint/ppdloader.cpp index a194c1c12..fd243b0f9 100644 --- a/tdeprint/ppdloader.cpp +++ b/tdeprint/ppdloader.cpp @@ -17,6 +17,10 @@ * Boston, MA 02110-1301, USA. **/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* Needed for getline */ +#endif + #include "ppdloader.h" #include "foomatic2loader.h" #include "driver.h" -- cgit v1.2.1