DragonFly: fix build

Fix the build for DragonFlyBSD.
This commit is contained in:
Dan Cross
2025-07-25 19:02:59 +00:00
parent 0bc66bfb3d
commit 9d2e0d31f7
3 changed files with 13 additions and 4 deletions

View File

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