diff options
-rw-r--r-- | crypto/engine/enginetest.c | 3 | ||||
-rw-r--r-- | crypto/ui/ui_lib.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index f152f642f1..59afe8e3c4 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -64,7 +64,8 @@ # define _XOPEN_SOURCE_EXTENDED #endif #ifdef OPENSSL_SYS_UNIX -# define __USE_XOPEN_EXTENDED /* For Linux and probably anything GNU */ +# define _XOPEN_SOURCE +# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ #endif #include <string.h> #include <openssl/engine.h> diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index f8881dee05..f55a79c740 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -63,7 +63,8 @@ # define _XOPEN_SOURCE_EXTENDED #endif #ifdef OPENSSL_SYS_UNIX -# define __USE_XOPEN_EXTENDED /* For Linux and probably anything GNU */ +# define _XOPEN_SOURCE +# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ #endif #include <string.h> |