commit | 2f3ba910a2bdb9e7d19e712a827cdc80c8d8c777 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Wed Nov 12 14:38:00 2014 -0500 |
committer | Adam Langley <agl@google.com> | Wed Nov 12 19:39:55 2014 +0000 |
tree | 6a671af5a914316d2bb21eb742f2a11c0ef1db3c | |
parent | e18d821dfcc32532caeeb1a2d15090672f592ce3 [diff] |
Fix ec_test build on Windows. No need to include unistd.h. (Though it probably should include string.h for memcmp and strcmp.) Change-Id: Ib09d2da4f7079c9d87338df75ec3560f4f203764 Reviewed-on: https://boringssl-review.googlesource.com/2260 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/ec/ec_test.c b/crypto/ec/ec_test.c index 9ef9897..8d53f87 100644 --- a/crypto/ec/ec_test.c +++ b/crypto/ec/ec_test.c
@@ -13,7 +13,7 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <stdio.h> -#include <unistd.h> +#include <string.h> #include <openssl/bio.h> #include <openssl/crypto.h>