summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-12 08:18:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-12 08:18:33 +0000
commitc80b0dab0288d279cb008c0fd2f54e5e61b92219 (patch)
tree932c0b0b382bcc679411bf16848d857a8d60e6b4
parente22e1d92712ee0fc9ff77a990915cbe6f6aa3692 (diff)
types.h for u_char
-rw-r--r--sys/lib/libkern/strcmp.c3
-rw-r--r--sys/lib/libkern/strncmp.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/lib/libkern/strcmp.c b/sys/lib/libkern/strcmp.c
index 78449ab0a32..6e95f842821 100644
--- a/sys/lib/libkern/strcmp.c
+++ b/sys/lib/libkern/strcmp.c
@@ -36,9 +36,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strcmp.c 5.5 (Berkeley) 1/26/91";*/
-static char *rcsid = "$Id: strcmp.c,v 1.3 1996/12/08 14:25:49 niklas Exp $";
+static char *rcsid = "$Id: strcmp.c,v 1.4 1996/12/12 08:18:31 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
+#include <sys/types.h>
#ifndef _KERNEL
#include <string.h>
#else
diff --git a/sys/lib/libkern/strncmp.c b/sys/lib/libkern/strncmp.c
index 60756ccc4d7..dee8b185e67 100644
--- a/sys/lib/libkern/strncmp.c
+++ b/sys/lib/libkern/strncmp.c
@@ -33,9 +33,10 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)strncmp.c 5.6 (Berkeley) 1/26/91";*/
-static char *rcsid = "$Id: strncmp.c,v 1.3 1996/12/08 14:25:49 niklas Exp $";
+static char *rcsid = "$Id: strncmp.c,v 1.4 1996/12/12 08:18:32 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
+#include <sys/types.h>
#ifndef _KERNEL
#include <string.h>
#else