Provide glue function for dirfd() for Solaris

This commit is contained in:
Love Hornquist Astrand
2009-08-14 11:02:08 +02:00
parent f1207346f0
commit 076f3b9b8c

View File

@@ -474,6 +474,10 @@ unsigned short ROKEN_LIB_FUNCTION bswap16(unsigned short);
int rk_flock(int fd, int operation);
#endif /* HAVE_FLOCK */
#ifdef SunOS
#define dirfd(x) ((x)->dd_fd)
#endif
time_t ROKEN_LIB_FUNCTION tm2time (struct tm, int);
int ROKEN_LIB_FUNCTION unix_verify_user(char *, char *);