$NetBSD: patch-at,v 1.1 2005/12/02 22:57:32 joerg Exp $ --- dict/tool/file.c.orig 2005-12-02 22:31:36.000000000 +0000 +++ dict/tool/file.c @@ -124,7 +124,7 @@ char *filename; { struct stat buf; -#if defined(__NetBSD__) || defined(__FreeBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) if (stat(filename, &buf) == 0) return (long)buf.st_size; #else if (stat(filename, &buf) == 0) return buf.st_size;