9 #include "misc-fnmatch.h"
15 #include "misc-glob.h"
23 #define S_ISLNK(mode) ((mode) & S_IFLNK)
27 #define S_ISSOCK(mode) ((mode) & S_IFSOCK)
35 char *realpath(const char *path, char resolved_path []);
39 #include <sys/stdtypes.h>
40 extern time_t timezone;
44 #include <sys/stdtypes.h>
45 #define realloc(ptr,size) myrealloc(ptr,size)
46 extern void *myrealloc(void *, size_t);
50 #include <sys/socket.h>
58 #include <sys/select.h>
67 #define GETMNTENT_ONE 1
68 #define GETMNTENT_TWO 0
69 #define our_mntent struct mntent
70 #define our_mntdir mnt_dir
71 #elif HAVE_SYS_MNTTAB_H
73 #include <sys/mnttab.h>
74 #define GETMNTENT_ONE 0
75 #define GETMNTENT_TWO 1
76 #define our_mntdir mnt_mountp
77 #define our_mntent struct mnttab
79 #error Neither mntent.h nor mnttab.h exists. I cannot build on this system.
83 #define MOUNTED "/etc/mnttab"