From 8a3e5a8b05ad0a7fab63595b6b4eafec56f63f89 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 21 Dec 2017 12:34:40 +0000 Subject: Add dirfd sysdep, because Solaris sucks --- src/include/skalibs/direntry.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/skalibs/direntry.h b/src/include/skalibs/direntry.h index 518ce77..70bd190 100644 --- a/src/include/skalibs/direntry.h +++ b/src/include/skalibs/direntry.h @@ -8,5 +8,6 @@ typedef struct dirent direntry, direntry_t, *direntry_ref, *direntry_t_ref ; extern int dir_close (DIR *) ; +extern int dir_fd (DIR *) ; /* Solaris doesn't have dirfd() */ #endif -- cgit v1.2.3