Skip to content

Commit

Permalink
Including stdio.h before setting _XOPEN_SOURCE and
Browse files Browse the repository at this point in the history
_XOPEN_SOURCE_EXTENDED wasn't very smart...
  • Loading branch information
levitte committed Jun 23, 2001
1 parent 55dcfa4 commit 1ae6dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/engine/enginetest.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
*
*/

#include <stdio.h>
#include <openssl/e_os2.h>
/* The following defines enable the declaration of strdup(), which is an
extended function according to X/Open. */
Expand All @@ -67,6 +66,7 @@
# define _XOPEN_SOURCE
# define _XOPEN_SOURCE_EXTENDED /* For Linux and probably anything GNU */
#endif
#include <stdio.h>
#include <string.h>
#include <openssl/engine.h>
#include <openssl/err.h>
Expand Down

0 comments on commit 1ae6dda

Please sign in to comment.