summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiano Rolim <cristianorolim@outlook.com>2013-07-10 17:46:02 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-07-10 17:46:02 +0200
commit14d307651d549af102d07a7d71f896533804c387 (patch)
tree42e034f08e2e74fadcfd7a59ed8aedd90a52e1e5
parenta6e2494db89ac08eb92f144277365120027634ee (diff)
downloadrsyslog-14d307651d549af102d07a7d71f896533804c387.tar.gz
rsyslog-14d307651d549af102d07a7d71f896533804c387.tar.bz2
rsyslog-14d307651d549af102d07a7d71f896533804c387.zip
fix build on FreeBSD
-rw-r--r--grammar/lexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar/lexer.l b/grammar/lexer.l
index 237eb2a6..ed5d8a80 100644
--- a/grammar/lexer.l
+++ b/grammar/lexer.l
@@ -88,7 +88,9 @@ extern int yydebug;
/* somehow, I need these prototype even though the headers are
* included. I guess that's some autotools magic I don't understand...
*/
+#if !defined(__FreeBSD__)
int fileno(FILE *stream);
+#endif
%}