aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcc.h b/tcc.h
index 8aa2c47..efb1c92 100644
--- a/tcc.h
+++ b/tcc.h
@@ -39,7 +39,9 @@
#ifndef _WIN32
# include <unistd.h>
# include <sys/time.h>
-# include <sys/ucontext.h>
+# ifndef __OpenBSD__
+# include <sys/ucontext.h>
+# endif
# include <sys/mman.h>
# ifndef CONFIG_TCC_STATIC
# include <dlfcn.h>