diff options
Diffstat (limited to 'sys/xfs/xfs_node-bsd.c')
-rw-r--r-- | sys/xfs/xfs_node-bsd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/xfs/xfs_node-bsd.c b/sys/xfs/xfs_node-bsd.c index d5440f5635f..306abdc970d 100644 --- a/sys/xfs/xfs_node-bsd.c +++ b/sys/xfs/xfs_node-bsd.c @@ -31,6 +31,7 @@ * SUCH DAMAGE. */ +#include <sys/queue.h> #include <xfs/xfs_locl.h> #include <xfs/xfs_common.h> #include <xfs/xfs_fs.h> @@ -275,13 +276,6 @@ free_all_xfs_nodes(struct xfs *xfsp, int flags, int unmountp) return error; } -#ifndef LIST_FOREACH -#define LIST_FOREACH(var, head, field) \ - for ((var) = ((head)->lh_first); \ - (var); \ - (var) = ((var)->field.le_next)) -#endif - void vattr2xfs_attr(const struct vattr *va, struct xfs_attr *xa) { |