summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-10 09:58:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-10 09:58:20 +0000
commitee3f75b1a46e224d270f9cb8b024329cb1eba10a (patch)
treebb9f26015a121f6f14f8660a3061508f500ffc62 /sys/arch/macppc
parent980d46fd49c500172956e355c64e6dd69fa7af08 (diff)
Include <libkern.h> to get proper strrchr() prototype.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/stand/ofdev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c
index 75aad9cdaad..d8c992cf3fe 100644
--- a/sys/arch/macppc/stand/ofdev.c
+++ b/sys/arch/macppc/stand/ofdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofdev.c,v 1.17 2011/03/13 00:13:53 deraadt Exp $ */
+/* $OpenBSD: ofdev.c,v 1.18 2011/04/10 09:58:19 miod Exp $ */
/* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */
/*
@@ -35,6 +35,7 @@
* Device I/O routines using Open Firmware
*/
#include <sys/param.h>
+#include <lib/libkern/libkern.h>
#include <sys/disklabel.h>
#include <netinet/in.h>