$NetBSD$

--- src/proto.h.orig	2000-07-01 19:17:39.000000000 +0100
+++ src/proto.h	2004-09-08 16:25:25.000000000 +0100
@@ -25,4 +25,6 @@
    
 ****************************************************************************/
+#include "config.h"
+
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -290,6 +292,8 @@
 void endusershell(void);
 
+#ifndef HAVE_STRCASESTR
 /*
    ** support/strcasestr.c
  */
 char *strcasestr(register char *s, register char *find);
+#endif
