summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-25 22:06:45 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-25 22:06:45 +0000
commit038398ebd61b5e328984971801911610f9fcc2e4 (patch)
tree0c5d3267d0b3562bc939520e5909907534084e2d
parent17c63a0727205c4918d639fa6eaae7cfa2beea4e (diff)
memcpy needs a prototype which is in systm.h
ok form@ kettenis@
-rw-r--r--sys/lib/libkern/memcpy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libkern/memcpy.c b/sys/lib/libkern/memcpy.c
index b843b0abf86..7977d998674 100644
--- a/sys/lib/libkern/memcpy.c
+++ b/sys/lib/libkern/memcpy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memcpy.c,v 1.1 2007/11/25 18:25:34 deraadt Exp $ */
+/* $OpenBSD: memcpy.c,v 1.2 2009/01/25 22:06:44 grange Exp $ */
/* $NetBSD: bcopy.c,v 1.5 1995/04/22 13:46:50 cgd Exp $ */
/*-
@@ -33,6 +33,7 @@
*/
#include <sys/types.h>
+#include <sys/systm.h>
/*
* This is designed to be small, not fast.