You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
395 B

  1. --- a/source4/dsdb/samdb/ldb_modules/count_attrs.c
  2. +++ b/source4/dsdb/samdb/ldb_modules/count_attrs.c
  3. @@ -38,6 +38,11 @@
  4. #define NULL_REQ_PSEUDO_N -2LL;
  5. #define STAR_REQ_PSEUDO_N -4LL;
  6. +#ifndef __COMPAR_FN_T
  7. +#define __COMPAR_FN_T
  8. +typedef int (*__compar_fn_t)(const void *, const void *);
  9. +#endif
  10. +
  11. struct count_attrs_private {
  12. struct tdb_wrap *requested;
  13. struct tdb_wrap *duplicates;