$NetBSD: patch-ad,v 1.1 2006/01/02 22:40:19 joerg Exp $

--- src/util.c.orig	2006-01-02 22:37:37.000000000 +0000
+++ src/util.c
@@ -357,6 +357,7 @@ void sig_handler(int signal)
 }
 
 
+#if !defined(__DragonFly__)
 /* Like strstr but only do search for maximum of n chars.
    haystack does not have to be NULL terminated
    needle has to be NULL terminated. NULL in needle is not used in compare.
@@ -392,6 +393,7 @@ char* strnstr(char* haystack,char* needl
   /* If we get this far no match was found so we return NULL */
   return NULL;
 }
+#endif
 
 /* We need these dummy stubs to fool the linker into believing that
    we do not need them at link time */
