fix build on OpenBSD

This commit is contained in:
Gleydson Soares 2016-05-08 19:48:20 -03:00
parent 1caa79c45f
commit 99a03b4d2a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
# define _XOPEN_SOURCE // ucontext.h APIs can only be used on Mac OSX >= 10.7 if _XOPEN_SOURCE is defined
# include <ucontext.h>
# undef _XOPEN_SOURCE
#else
#elif !defined(__OpenBSD__)
# include <ucontext.h>
#endif
#ifdef __linux__