Subject: lsof and struct bufq_state
To: None <>
From: john heasley <>
List: current-users
Date: 09/11/2002 21:13:30
from sources of yesterday, lsof build fails thusly

In file included from ../dlsof.h:176,
                 from ../lsof.h:172,
                 from dvch.c:43:
/usr/include/ufs/mfs/mfsnode.h:47: field `mfs_buflist' has incomplete type
*** Error code 1

because struct mfsnod has the member

        struct  bufq_state mfs_buflist; /* list of I/O requests */

defined in sys/buf.h and enclosed in _KERNEL.  is it proper to define
_KERNEL in a user util to get to these definitions?