From 16a8848a4f04b429d0c76c72118a7b39002cd9c2 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 27 Sep 2015 14:40:02 +0200 Subject: Fix build with -DDEBUG * device/cirbuf.c: Add missing include. * i386/i386/debug.h (dump_ss): Hide declaration from assembler. * i386/i386/debug_i386.c: Fix include. * kern/sched_prim.h: Add missing include, fix declaration. --- device/cirbuf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'device/cirbuf.c') diff --git a/device/cirbuf.c b/device/cirbuf.c index dfb06df1..391297ce 100644 --- a/device/cirbuf.c +++ b/device/cirbuf.c @@ -42,6 +42,8 @@ /* if c_cl == c_cf - 1, buffer is full */ #if DEBUG +#include + boolean_t cb_check_enable = FALSE; #define CB_CHECK(cb) if (cb_check_enable) cb_check(cb) -- cgit v1.2.3