add support for apple os/x

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Rich Salz 2015-09-07 21:39:44 -04:00 committed by Rich Salz
parent 55b2258859
commit 5278dec375

View file

@ -2,7 +2,6 @@
* C implementation based on the original Perl and shell versions
*
* Copyright (c) 2013-2014 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*/
/* ====================================================================
* Copyright (c) 2015 The OpenSSL Project. All rights reserved.
@ -60,7 +59,7 @@
#include "apps.h"
#ifdef unix
#if defined(unix) || defined(__APPLE__)
# include <unistd.h>
# include <stdio.h>
# include <limits.h>
@ -480,4 +479,4 @@ int rehash_main(int argc, char **argv)
return (1);
}
#endif
#endif /* defined(unix) || defined(__APPLE__) */