diff options
| author | Christian Jullien <jullien@openbsd.eligis.com> | 2016-10-15 14:50:17 +0200 |
|---|---|---|
| committer | Christian Jullien <jullien@openbsd.eligis.com> | 2016-10-15 14:50:17 +0200 |
| commit | 36759ddacf3856599873f7c181c7e01c3a8d5f1f (patch) | |
| tree | b6bf677a099b4fd104a627acf7f06f93ae8cdf90 /tcc.h | |
| parent | 18a5d8188ac64fc8dd425668291616f330161747 (diff) | |
| download | tinycc-36759ddacf3856599873f7c181c7e01c3a8d5f1f.tar.gz tinycc-36759ddacf3856599873f7c181c7e01c3a8d5f1f.tar.bz2 | |
Start support of OpenBSD, tcc compiler can be produced from source tree
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |
