summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/make_driver_db_cups.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups/make_driver_db_cups.cpp')
-rw-r--r--tdeprint/cups/make_driver_db_cups.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeprint/cups/make_driver_db_cups.cpp b/tdeprint/cups/make_driver_db_cups.cpp
index a6dec1169..9b700111f 100644
--- a/tdeprint/cups/make_driver_db_cups.cpp
+++ b/tdeprint/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>