diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 10:02:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:08 -0500 |
commit | d2e72c46c116bffc662024408f1391bda57b9849 (patch) | |
tree | 100b86f3c6af80d0af9c02425cbf03e1b01c7353 /source4/heimdal | |
parent | 9adf2883efc275b359d8e50c493023c48883eef6 (diff) | |
download | samba-d2e72c46c116bffc662024408f1391bda57b9849.tar.gz samba-d2e72c46c116bffc662024408f1391bda57b9849.tar.bz2 samba-d2e72c46c116bffc662024408f1391bda57b9849.zip |
r18322: fixed a compilation problem on AIX caused by lex not putting config.h
first. That leads to a conflicting define for lseek() due to
_LARGE_FILES being defined after standards headers are included
(This used to be commit 9034238e27f22a7077df9fa0d7c83cce4503aabc)
Diffstat (limited to 'source4/heimdal')
-rw-r--r-- | source4/heimdal/lib/asn1/lex.c | 3 | ||||
-rw-r--r-- | source4/heimdal/lib/com_err/lex.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal/lib/asn1/lex.c b/source4/heimdal/lib/asn1/lex.c index 37309ba0aa..70e893197d 100644 --- a/source4/heimdal/lib/asn1/lex.c +++ b/source4/heimdal/lib/asn1/lex.c @@ -1,3 +1,4 @@ +#include "config.h" #line 3 "lex.yy.c" @@ -1905,7 +1906,7 @@ static int yy_get_next_buffer (void) /* Read in more data. */ YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), - (yy_n_chars), num_to_read ); + (yy_n_chars), (size_t) num_to_read ); YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); } diff --git a/source4/heimdal/lib/com_err/lex.c b/source4/heimdal/lib/com_err/lex.c index d5d6b20a8d..4697d0a3fd 100644 --- a/source4/heimdal/lib/com_err/lex.c +++ b/source4/heimdal/lib/com_err/lex.c @@ -1,3 +1,4 @@ +#include "config.h" #line 3 "lex.yy.c" |