From 7e07e9b1e8005f165d9128779eb8a0990d1700be Mon Sep 17 00:00:00 2001 From: jsing Date: Sun, 18 May 2014 16:34:04 +0000 Subject: [PATCH] W_OK comes via unistd.h - nuke several #ifndef W_OK that attempt to handle missing defines. --- lib/libssl/src/apps/ca.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/libssl/src/apps/ca.c b/lib/libssl/src/apps/ca.c index 23c13186995..59f19690237 100644 --- a/lib/libssl/src/apps/ca.c +++ b/lib/libssl/src/apps/ca.c @@ -60,10 +60,6 @@ #include -#ifndef W_OK -#include -#endif - #include #include #include @@ -84,18 +80,11 @@ #include #include -#ifndef W_OK -#define F_OK 0 -#define X_OK 1 -#define W_OK 2 -#define R_OK 4 -#endif - -#define BASE_SECTION "ca" +#define BASE_SECTION "ca" #define ENV_DEFAULT_CA "default_ca" -#define STRING_MASK "string_mask" +#define STRING_MASK "string_mask" #define UTF8_IN "utf8" #define ENV_DIR "dir" -- 2.20.1