Patch for ldbdel.c

Matthias Dieter Wallnöfer mdw at samba.org
Tue Dec 21 02:53:27 MST 2010


Jelmer, Andrew,

is it okay, if I apply the following patch? Otherwise we get 
redefinition warnings on OpenSolaris:

default/source4/include/config.h:35:1: warning: "_FILE_OFFSET_BITS" redefined

(http://build.samba.org/build.cgi/build/b70982c2de68557c8604c55d71d529bfd6aeda18)

Cheers,
Matthias

> diff --git a/source4/lib/ldb/tools/ldbdel.c 
> b/source4/lib/ldb/tools/ldbdel.c
> index 6f7c8ae..0b970d9 100644
> --- a/source4/lib/ldb/tools/ldbdel.c
> +++ b/source4/lib/ldb/tools/ldbdel.c
> @@ -31,10 +31,10 @@
>   *  Author: Andrew Tridgell
>   */
>
> +#include "replace.h"
>  #include "ldb.h"
>  #include "tools/cmdline.h"
>  #include "ldbutil.h"
> -#include "replace.h"
>
>  static int dn_cmp(struct ldb_message **msg1, struct ldb_message **msg2)
>  {


More information about the samba-technical mailing list