Make hx509 compile on windows

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Asanka Herath
2009-11-25 00:24:01 +01:00
committed by Love Hornquist Astrand
parent 5d48156c51
commit 3982b965c6

View File

@@ -113,7 +113,9 @@ dir_iter_start(hx509_context context,
free(d);
return errno;
}
#ifndef _WIN32
rk_cloexec(dirfd(d->dir));
#endif
d->certs = NULL;
d->iter = NULL;