summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/prom.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-14 21:08:29 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2010-05-14 21:08:29 +0000
commit73195c73ba1ad5ce930e4f96391cb9eb6e5ff0de (patch)
treee7020fbf25164969c1e1ee61697886b92f944372 /sys/arch/alpha/stand/prom.c
parent3cce8de3c5ac3b5f6a69a551cd7f542ea28ce781 (diff)
don't warn about libsa's exit(); pull in declaration for memcpy()
courtesy of gcc4; ok kettenis@
Diffstat (limited to 'sys/arch/alpha/stand/prom.c')
-rw-r--r--sys/arch/alpha/stand/prom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/stand/prom.c b/sys/arch/alpha/stand/prom.c
index 57627f02900..f27bedc449a 100644
--- a/sys/arch/alpha/stand/prom.c
+++ b/sys/arch/alpha/stand/prom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prom.c,v 1.7 2009/09/30 19:43:44 miod Exp $ */
+/* $OpenBSD: prom.c,v 1.8 2010/05/14 21:08:28 naddy Exp $ */
/* $NetBSD: prom.c,v 1.2 1996/11/25 16:18:16 cgd Exp $ */
/*
@@ -27,6 +27,8 @@
* the rights to redistribute these changes.
*/
+#include <lib/libsa/stand.h>
+
#include <sys/types.h>
#include <machine/rpb.h>