diff options
author | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-08-22 20:08:07 +0000 |
commit | 7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1 (patch) | |
tree | 6120562cdf5bfac9e1f2c4c9997aca24ef1930b2 /sys/libkern/strcmp.c | |
parent | 4fd36731e0f32bd089f6de3bfb1e433b9aa9fbf2 (diff) | |
download | FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.zip FreeBSD-src-7c4d6e48338b051fe9fa9ff4a0705ab1ce42cdb1.tar.gz |
Include sys/libkern.h for the kernel prototypes of these libkern functions
instead of including the userland string.h header.
Prompted by: breakage with old string.h from recent machine/types.h fix
Approved by: peter (in principle)
Diffstat (limited to 'sys/libkern/strcmp.c')
-rw-r--r-- | sys/libkern/strcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/strcmp.c b/sys/libkern/strcmp.c index 77c5f66..0214d1a 100644 --- a/sys/libkern/strcmp.c +++ b/sys/libkern/strcmp.c @@ -36,7 +36,7 @@ * $FreeBSD$ */ -#include <string.h> +#include <sys/libkern.h> /* * Compare strings. |