summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/u.h3
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