]> arthur.barton.de Git - netatalk.git/blob - libatalk/compat/misc.c
Merge master
[netatalk.git] / libatalk / compat / misc.c
1 #ifdef HAVE_CONFIG_H
2 #include "config.h"
3 #endif /* HAVE_CONFIG_H */
4
5 #include <atalk/compat.h>
6
7 #if !defined HAVE_DIRFD && defined SOLARIS
8 #include <dirent.h>
9 int dirfd(DIR *dir)
10 {
11     return dir->d_fd;
12 }
13 #endif