$NetBSD$

--- launch.c.orig	2006-03-22 22:56:35.000000000 +0000
+++ launch.c
@@ -76,7 +76,7 @@ extern struct st_host_info hinfo[];
 extern int beep_when_ops_done;
 extern int child_to_parent_pipe[];
 extern struct dirwin_st *dirwin_head;
-#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GNU_LIBRARY__) && !defined(__GLIBC__) && !defined(__EMX__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GNU_LIBRARY__) && !defined(__GLIBC__) && !defined(__EMX__) && !defined(__DragonFly__)
 extern char *sys_errlist[];
 #endif
 
