diff options
| author | jdolecek <jdolecek@NetBSD.org> | 2002-10-08 21:45:36 +0000 |
|---|---|---|
| committer | jdolecek <jdolecek@NetBSD.org> | 2002-10-08 21:45:36 +0000 |
| commit | aaccb8dc2b7bcbe59718dc481bf66b8e833eb668 (patch) | |
| tree | 29483079644ac2b71211e785876940be2005a949 /sys/lib | |
| parent | 48f6d7e229bdb9ee0819a30d76efd2f89865b97f (diff) | |
need to include <sys/param.h> to get inline strlen() on vax; found
with help of Matt Thomas
Diffstat (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libkern/strstr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/lib/libkern/strstr.c b/sys/lib/libkern/strstr.c index c995674dcea..960bdcebf93 100644 --- a/sys/lib/libkern/strstr.c +++ b/sys/lib/libkern/strstr.c @@ -1,4 +1,4 @@ -/* $NetBSD: strstr.c,v 1.1 2002/10/04 18:39:53 junyoung Exp $ */ +/* $NetBSD: strstr.c,v 1.2 2002/10/08 21:45:36 jdolecek Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -41,13 +41,14 @@ #if 0 static char sccsid[] = "@(#)strstr.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: strstr.c,v 1.1 2002/10/04 18:39:53 junyoung Exp $"); +__RCSID("$NetBSD: strstr.c,v 1.2 2002/10/08 21:45:36 jdolecek Exp $"); #endif #endif /* LIBC_SCCS and not lint */ #if !defined(_KERNEL) && !defined(_STANDALONE) #include <string.h> #else +#include <sys/param.h> #include <lib/libkern/libkern.h> #endif |
