From: mpi Date: Sun, 14 Jan 2018 09:32:09 +0000 (+0000) Subject: Fix after recent mutex change. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e28b427bc1f773d45a68878ae16b0e04442de8c;p=openbsd Fix after recent mutex change. --- 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 */