--- roms/u-boot-sam460ex/tools/gdb/serial.c.orig	2021-06-20 14:21:17 UTC
+++ roms/u-boot-sam460ex/tools/gdb/serial.c
@@ -30,6 +30,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 } };
