# HG changeset patch # User Bruno Haible # Date 1212354606 -7200 # Node ID 6cbcb13324a66ca6219d643fa848d478f336a2b8 # Parent 15617fa27827c6f5c3dd7cde9feb7b21d654cc16 Fix syntax error on DragonFly BSD. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-01 Bruno Haible + + * lib/stdio-impl.h (fp_ub): Use fp_. Needed for DragonFly BSD. + Reported by Voroskoi Andras . + 2008-06-01 Voroskoi Andras (tiny change) * lib/stdio-impl.h [__DragonFly__]: Fix typo. diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -60,7 +60,7 @@ }; # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub # else /* FreeBSD, DragonFly, MacOS X, Cygwin */ -# define fp_ub fp->_ub +# define fp_ub fp_->_ub # endif # define HASUB(fp) (fp_ub._base != NULL)