From: dlg Date: Thu, 25 Jun 2015 00:58:49 +0000 (+0000) Subject: you need to include ddb/db_output.h so you know how to call db_printf X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b1791a29adca85ab34261dd7a332c864dd62a3d3;p=openbsd you need to include ddb/db_output.h so you know how to call db_printf inside MP_LOCKDEBUG. --- 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) {