From b1791a29adca85ab34261dd7a332c864dd62a3d3 Mon Sep 17 00:00:00 2001 From: dlg Date: Thu, 25 Jun 2015 00:58:49 +0000 Subject: [PATCH] you need to include ddb/db_output.h so you know how to call db_printf inside MP_LOCKDEBUG. --- sys/arch/amd64/amd64/lock_machdep.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/amd64/amd64/lock_machdep.c b/sys/arch/amd64/amd64/lock_machdep.c index a8e9946dee9..5d15d2b74c0 100644 --- a/sys/arch/amd64/amd64/lock_machdep.c +++ b/sys/arch/amd64/amd64/lock_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lock_machdep.c,v 1.8 2015/03/14 03:38:46 jsg Exp $ */ +/* $OpenBSD: lock_machdep.c,v 1.9 2015/06/25 00:58:49 dlg Exp $ */ /* * Copyright (c) 2007 Artur Grabowski @@ -24,6 +24,8 @@ #include #include +#include + void __mp_lock_init(struct __mp_lock *mpl) { -- 2.20.1