about summary refs log tree commit diff
path: root/lib/util/lexheader
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/lexheader')
-rw-r--r--lib/util/lexheader9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/util/lexheader b/lib/util/lexheader
new file mode 100644
index 00000000..c5691660
--- /dev/null
+++ b/lib/util/lexheader
@@ -0,0 +1,9 @@
+/* This is the file 'lexheader'.  It contains extra stuff needed by
+   parsers generated by lex.
+
+   GNU Flex generates a parser that refers to the non-ansi C library 
+   subroutine fileno().  In order to let it compile without warnings,
+   we define _XOPEN_SOURCE to declare that fact.
+*/
+#define _XOPEN_SOURCE
+/* END OF lexheader */