diff options
author | Nikolaus Klepp <office@klepp.biz> | 2015-06-11 03:00:34 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-11 03:00:34 +0200 |
commit | 3be9f300c9a754320a02fd10a729ef797ffb8506 (patch) | |
tree | 21b31a1b87a6382a1eca0c241afbce067a8bc491 /tdeprint/ppdloader.cpp | |
parent | e443c9e0b29809c1ba0c9133e2fea9cbc30ae937 (diff) | |
download | tdelibs-3be9f300c9a754320a02fd10a729ef797ffb8506.tar.gz tdelibs-3be9f300c9a754320a02fd10a729ef797ffb8506.zip |
Fix FTBFS on freebsd
This resolves Bug 2431
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
Diffstat (limited to 'tdeprint/ppdloader.cpp')
-rw-r--r-- | tdeprint/ppdloader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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" |