--- roms/u-boot/tools/gdb/serial.c.orig	2021-06-20 14:24:55 UTC
+++ roms/u-boot/tools/gdb/serial.c
@@ -13,6 +13,7 @@
 #if defined(__sun__)	 || \
     defined(__OpenBSD__) || \
     defined(__FreeBSD__) || \
+    defined(__DragonFly__) || \
     defined(__NetBSD__)	 || \
     defined(__APPLE__)
 static struct termios tios = { BRKINT, 0, B115200|CS8|CREAD, 0, { 0 } };
