diff options
| author | Dan Cross <cross@gajendra.net> | 2025-07-25 19:02:59 +0000 |
|---|---|---|
| committer | Dan Cross <cross@gajendra.net> | 2025-07-25 19:02:59 +0000 |
| commit | 9d2e0d31f76dfa2922236675981746090bbf3c1a (patch) | |
| tree | 23efecbd68850726b7c7cc9fe84bf5ebd70a6a87 /include | |
| parent | 0bc66bfb3dda9b1d7d1db266a9046705bda1cd15 (diff) | |
DragonFly: fix build
Fix the build for DragonFlyBSD.
Diffstat (limited to 'include')
| -rw-r--r-- | include/u.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |