diff options
author | Nikolaus Klepp <office@klepp.biz> | 2015-06-11 03:00:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:23:00 +0100 |
commit | c1136180cc5a0f991244129609f0e5d1af19b13a (patch) | |
tree | 9eca127d02399fc507a1001372714592a970b676 /kdeprint/ppdloader.cpp | |
parent | e4ef4e00f92514c7b7405965edc66eacf562bf8d (diff) | |
download | tdelibs-c1136180cc5a0f991244129609f0e5d1af19b13a.tar.gz tdelibs-c1136180cc5a0f991244129609f0e5d1af19b13a.zip |
Fix FTBFS on freebsd
This resolves Bug 2431
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
(cherry picked from commit 3be9f300c9a754320a02fd10a729ef797ffb8506)
Diffstat (limited to 'kdeprint/ppdloader.cpp')
-rw-r--r-- | kdeprint/ppdloader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kdeprint/ppdloader.cpp b/kdeprint/ppdloader.cpp index d80e8ae5a..aedce2dda 100644 --- a/kdeprint/ppdloader.cpp +++ b/kdeprint/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" |