Support for DragonFly BSD (Hasso Tepper)
[qemu] / exec.c
diff --git a/exec.c b/exec.c
index 9823af3..6a5f2fe 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -454,7 +454,7 @@ static void code_gen_alloc(unsigned long tb_size)
             exit(1);
         }
     }
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
     {
         int flags;
         void *addr = NULL;