X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2Fad%2Fad_util.c;h=782bbffa6c7a0042f7f97c6c02e732e67ef32ea9;hb=f254fd618b53e97cc5382b23709d4f3de1e70b41;hp=a168eed8a201f16413eaa3637431e2cea05d9d8a;hpb=4e7c44b51d025b4a068eeec8a5fc9f80e2f20f9e;p=netatalk.git diff --git a/bin/ad/ad_util.c b/bin/ad/ad_util.c index a168eed8..782bbffa 100644 --- a/bin/ad/ad_util.c +++ b/bin/ad/ad_util.c @@ -51,6 +51,9 @@ #ifdef HAVE_SOLARIS_ACLS #include #endif /* HAVE_SOLARIS_ACLS */ +#ifdef HAVE_FREEBSD_SUNACL +#include +#endif #ifdef HAVE_POSIX_ACLS #include @@ -126,7 +129,8 @@ int openvol(AFPObj *obj, const char *path, afpvol_t *vol) "dbd", flags, vol->vol->v_cnidserver, - vol->vol->v_cnidport)) == NULL) + vol->vol->v_cnidport, + NULL, NULL)) == NULL) ERROR("Cant initialize CNID database connection for %s", vol->vol->v_path); cnid_getstamp(vol->vol->v_cdb,