aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_l.l
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2016-09-24 18:23:58 +0200
committerMatthias Andree <matthias.andree@gmx.de>2016-09-24 18:28:07 +0200
commit4a57a63458ba2c0c11fdcd24f6cf2fc15957135a (patch)
treede7d50f34c0dc04cce340f0ccad68d8585a054a9 /rcfile_l.l
parent5aaa3cec988329f11d27911aa3994f4776139c0b (diff)
downloadfetchmail-4a57a63458ba2c0c11fdcd24f6cf2fc15957135a.tar.gz
fetchmail-4a57a63458ba2c0c11fdcd24f6cf2fc15957135a.tar.bz2
fetchmail-4a57a63458ba2c0c11fdcd24f6cf2fc15957135a.zip
Fix missing fileno() declaration.
Add #define _XOPEN_SOURCE 600, the %top{...} flex macro requires flex 2.5.30 or newer.
Diffstat (limited to 'rcfile_l.l')
-rw-r--r--rcfile_l.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index c7e49fea..996197d1 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -1,3 +1,8 @@
+%top{
+/* make fileno() known */
+#define _XOPEN_SOURCE 600
+}
+
%{
/*