#include <atalk/cnid.h>
#include <atalk/bstrlib.h>
#include <atalk/queue.h>
+#include <atalk/unicode.h>
/* setgid directories */
#ifndef DIRBITS
-# ifdef AFS
+# if (defined AFS) || (defined FREEBSD)
# define DIRBITS 0
# else /* AFS */
# define DIRBITS S_ISGID