diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/posix_c_source.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/posix_c_source.patch b/patches/posix_c_source.patch new file mode 100644 index 0000000..ff51594 --- /dev/null +++ b/patches/posix_c_source.patch @@ -0,0 +1,15 @@ +diff --git a/openssl/crypto/ui/ui_openssl.c b/openssl/crypto/ui/ui_openssl.c +index 06270f0..e2fff79 100644 +--- a/openssl/crypto/ui/ui_openssl.c ++++ b/openssl/crypto/ui/ui_openssl.c +@@ -122,7 +122,10 @@ + * sigaction and fileno included. -pedantic would be more appropriate for + * the intended purposes, but we can't prevent users from adding -ansi. + */ ++#ifndef _POSIX_C_SOURCE + #define _POSIX_C_SOURCE 1 ++#endif ++ + #include <signal.h> + #include <stdio.h> + #include <string.h> |