Fix Windows build.

Change-Id: Ie35b8d0e2da0f7d2588c4a436fc4b2b2596aaf18
Reviewed-on: https://boringssl-review.googlesource.com/7791
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
David Benjamin 2016-04-27 14:44:22 -04:00
parent c0d8b83b44
commit e3118b8dc4

View File

@ -110,6 +110,8 @@
#include <openssl/ssl.h> #include <openssl/ssl.h>
#if !defined(OPENSSL_WINDOWS) && !defined(OPENSSL_PNACL)
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
@ -119,8 +121,6 @@
#include <openssl/mem.h> #include <openssl/mem.h>
#if !defined(OPENSSL_WINDOWS) && !defined(OPENSSL_PNACL)
typedef struct { typedef struct {
DIR *dir; DIR *dir;
struct dirent dirent; struct dirent dirent;