+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <atalk/compat.h>
#ifndef HAVE_STRNLEN
}
}
return len;
+
+#if !defined HAVE_DIRFD && defined SOLARIS
+#include <dirent.h>
+int dirfd(DIR *dir)
+{
+ return dir->dd_fd;
}
#endif