Commit 000cc411 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix compilation error on OS-X



OS-X complains if we don't have _XOPEN_SOURCE defined.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent d7e404c2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -61,6 +61,12 @@
#  define ASYNC_POSIX
#  define ASYNC_ARCH

/*
 * Some platforms complain (e.g. OS-X) that setcontext/getcontext/makecontext
 * are deprecated without this defined
 */
#  define _XOPEN_SOURCE

#  include <ucontext.h>
#  include <setjmp.h>
#  include "e_os.h"