提交 1ae6ddac 编写于 作者: R Richard Levitte

Including stdio.h before setting _XOPEN_SOURCE and

_XOPEN_SOURCE_EXTENDED wasn't very smart...
上级 55dcfa42
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
* *
*/ */
#include <stdio.h>
#include <openssl/e_os2.h> #include <openssl/e_os2.h>
/* The following defines enable the declaration of strdup(), which is an /* The following defines enable the declaration of strdup(), which is an
extended function according to X/Open. */ extended function according to X/Open. */
...@@ -67,6 +66,7 @@ ...@@ -67,6 +66,7 @@
# define _XOPEN_SOURCE # define _XOPEN_SOURCE
# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */ # define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */
#endif #endif
#include <stdio.h>
#include <string.h> #include <string.h>
#include <openssl/engine.h> #include <openssl/engine.h>
#include <openssl/err.h> #include <openssl/err.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册