From 1e28b427bc1f773d45a68878ae16b0e04442de8c Mon Sep 17 00:00:00 2001 From: mpi Date: Sun, 14 Jan 2018 09:32:09 +0000 Subject: [PATCH] Fix after recent mutex change. --- regress/sys/net/rtable/kern_compat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/regress/sys/net/rtable/kern_compat.h b/regress/sys/net/rtable/kern_compat.h index a83110de976..88d8460cb0c 100644 --- a/regress/sys/net/rtable/kern_compat.h +++ b/regress/sys/net/rtable/kern_compat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_compat.h,v 1.7 2017/07/27 13:34:30 mpi Exp $ */ +/* $OpenBSD: kern_compat.h,v 1.8 2018/01/14 09:32:09 mpi Exp $ */ #ifndef _KERN_COMPAT_H_ #define _KERN_COMPAT_H_ @@ -57,6 +57,9 @@ struct pool { #define rtref(_rt) ((_rt)->rt_refcnt++) #define rtfree(_rt) (assert(--(_rt)->rt_refcnt >= 0)) +#ifndef IPL_NONE +#define IPL_NONE 0 +#endif #define __mtx_enter(_mtx) /* nothing */ #define __mtx_leave(_mtx) /* nothing */ -- 2.20.1