Solaris doesn't have dirfd(), lets pull it out from DIR *

This commit is contained in:
Love Hornquist Astrand
2009-08-14 10:12:44 +02:00
parent 193f14461f
commit 7c18fc4cfe

View File

@@ -93,7 +93,9 @@ dir_free(hx509_certs certs, void *data)
return 0;
}
#ifdef SunOS
#define dirfd(x) ((x)->dd_fd)
#endif
static int
dir_iter_start(hx509_context context,