diff options
author | David Benjamin <davidben@google.com> | 2016-04-27 21:44:22 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-04-27 21:44:58 +0300 |
commit | e3118b8dc4c05abc8ed822a181e81a2a070ebe61 (patch) | |
tree | a57a906896585e0a7a029f88e6710bbad97524f5 | |
parent | c0d8b83b4462a0eb1889f32dbd7f46e83f4dbc81 (diff) |
Fix Windows build.
Change-Id: Ie35b8d0e2da0f7d2588c4a436fc4b2b2596aaf18
Reviewed-on: https://boringssl-review.googlesource.com/7791
Reviewed-by: David Benjamin <davidben@google.com>
-rw-r--r-- | decrepit/ssl/ssl_decrepit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decrepit/ssl/ssl_decrepit.c b/decrepit/ssl/ssl_decrepit.c index 25c8b6b1..e25cbf31 100644 --- a/decrepit/ssl/ssl_decrepit.c +++ b/decrepit/ssl/ssl_decrepit.c @@ -110,6 +110,8 @@ #include <openssl/ssl.h> +#if !defined(OPENSSL_WINDOWS) && !defined(OPENSSL_PNACL) + #include <dirent.h> #include <errno.h> #include <stdlib.h> @@ -119,8 +121,6 @@ #include <openssl/mem.h> -#if !defined(OPENSSL_WINDOWS) && !defined(OPENSSL_PNACL) - typedef struct { DIR *dir; struct dirent dirent; |