提交 5278dec3 编写于 作者: R Rich Salz 提交者: Rich Salz

add support for apple os/x

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 55b22588
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
* C implementation based on the original Perl and shell versions * C implementation based on the original Perl and shell versions
* *
* Copyright (c) 2013-2014 Timo Teräs <timo.teras@iki.fi> * Copyright (c) 2013-2014 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*/ */
/* ==================================================================== /* ====================================================================
* Copyright (c) 2015 The OpenSSL Project. All rights reserved. * Copyright (c) 2015 The OpenSSL Project. All rights reserved.
...@@ -60,7 +59,7 @@ ...@@ -60,7 +59,7 @@
#include "apps.h" #include "apps.h"
#ifdef unix #if defined(unix) || defined(__APPLE__)
# include <unistd.h> # include <unistd.h>
# include <stdio.h> # include <stdio.h>
# include <limits.h> # include <limits.h>
...@@ -480,4 +479,4 @@ int rehash_main(int argc, char **argv) ...@@ -480,4 +479,4 @@ int rehash_main(int argc, char **argv)
return (1); return (1);
} }
#endif #endif /* defined(unix) || defined(__APPLE__) */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册