summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups
diff options
context:
space:
mode:
authorNikolaus Klepp <office@klepp.biz>2015-06-11 03:00:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:23:00 +0100
commitc1136180cc5a0f991244129609f0e5d1af19b13a (patch)
tree9eca127d02399fc507a1001372714592a970b676 /kdeprint/cups
parente4ef4e00f92514c7b7405965edc66eacf562bf8d (diff)
downloadtdelibs-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/cups')
-rw-r--r--kdeprint/cups/make_driver_db_cups.cpp3
1 files changed, 3 insertions, 0 deletions
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 <config.h>
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE /* Needed for getline */
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>