sys/pcq.h isn't installed to userland, so only include it ifdef _KERNEL,

fixes glitch in kdump build
This commit is contained in:
drochner 2011-11-29 17:28:45 +00:00
parent 7babedb72c
commit 2467eee7c7

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_gre.h,v 1.41 2011/11/02 01:17:59 dyoung Exp $ */
/* $NetBSD: if_gre.h,v 1.42 2011/11/29 17:28:45 drochner Exp $ */
/*
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@ -44,9 +44,11 @@
#include <sys/condvar.h>
#include <sys/malloc.h>
#include <sys/mallocvar.h>
#include <sys/pcq.h>
#ifdef _KERNEL
#include <sys/pcq.h>
struct gre_soparm {
struct socket *sp_so;
struct sockaddr_storage sp_src; /* source of gre packets */