summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 12:34:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 12:34:40 +0000
commit8a3e5a8b05ad0a7fab63595b6b4eafec56f63f89 (patch)
tree8aaf51a5fe4664a7934afa68c14c391e40b76f47 /src/include
parentb45692fe8638c4faaaedb488402b90971fda18f5 (diff)
downloadskalibs-8a3e5a8b05ad0a7fab63595b6b4eafec56f63f89.tar.xz
Add dirfd sysdep, because Solaris sucks
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/direntry.h1
1 files changed, 1 insertions, 0 deletions
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