$NetBSD: patch-ad,v 1.5 2008/10/14 12:29:11 wiz Exp $

--- lib/fseeko.c.orig	2008-08-05 13:16:44.000000000 +0000
+++ lib/fseeko.c
@@ -25,6 +25,18 @@
 
 #include "stdio-impl.h"
 
+#ifdef __DragonFly__
+
+#undef fseeko
+
+int
+rpl_fseeko (FILE *fp, off_t offset, int whence)
+{
+	return(fseeko(fp, offset, whence));
+}
+
+#else
+
 #undef fseeko
 #if !HAVE_FSEEKO
 # undef fseek
@@ -111,3 +123,5 @@ rpl_fseeko (FILE *fp, off_t offset, int 
   else
     return fseeko (fp, offset, whence);
 }
+
+#endif
