$NetBSD: patch-ad,v 1.4 2008/04/29 13:54:55 wiz Exp $ --- lib/fseeko.c.orig 2007-12-17 21:18:34 -0800 +++ lib/fseeko.c 2008-04-14 20:27:44 -0700 @@ -23,6 +23,18 @@ /* Get off_t and lseek. */ #include +#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 @@ -121,3 +133,5 @@ else return fseeko (fp, offset, whence); } + +#endif