source/lib/dbwrap_rbt.c in Samba 3.2

Herb Lewis hlewis at
Wed Jun 18 21:14:32 GMT 2008

This file has a #define that conflicts with the same name
in standard header files in freeBSD (4.6.2 at least).

#define ALIGN(_size_) (((_size_)+15)&~15)

we need to either change the name or do an #undef beforehand

also the struct db_rbt_node element

     char data[];

gives an error

field `data' has incomplete type

what are we really trying to do here?

More information about the samba-technical mailing list