summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/memcpy.c
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2009-01-25 22:06:44 +0000
committergrange <grange@openbsd.org>2009-01-25 22:06:44 +0000
commit371f3ceab6bc9c74ee37be1e85db755085e92e77 (patch)
tree8f2043fb0bc9b2e1ae066a4eaf3b901988ec6f60 /sys/lib/libkern/memcpy.c
parentOnly copy hosts file once during upgrades. Shorten a long variable name. (diff)
downloadwireguard-openbsd-371f3ceab6bc9c74ee37be1e85db755085e92e77.tar.xz
wireguard-openbsd-371f3ceab6bc9c74ee37be1e85db755085e92e77.zip
memcpy needs a prototype which is in systm.h
ok form@ kettenis@
Diffstat (limited to 'sys/lib/libkern/memcpy.c')
-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.