From 9d2e0d31f76dfa2922236675981746090bbf3c1a Mon Sep 17 00:00:00 2001 From: Dan Cross Date: Fri, 25 Jul 2025 19:02:59 +0000 Subject: DragonFly: fix build Fix the build for DragonFlyBSD. --- include/u.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/u.h b/include/u.h index aaa2e416..88c5fa8a 100644 --- a/include/u.h +++ b/include/u.h @@ -38,6 +38,9 @@ extern "C" { # define _ALL_SOURCE # undef HAS_SYS_TERMIOS #endif +#if defined(__DragonFly__) +# undef HAS_SYS_TERMIOS +#endif #define _LARGEFILE64_SOURCE 1 #define _FILE_OFFSET_BITS 64 #define __USE_POSIX 1 //needed for sigjmp_buf in glibc setjmp.h -- cgit v1.2.3