Start support of OpenBSD, tcc compiler can be produced from source tree

This commit is contained in:
Christian Jullien
2016-10-15 14:50:17 +02:00
parent 18a5d8188a
commit 36759ddacf
2 changed files with 7 additions and 1 deletions

4
tcc.h
View File

@ -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>