Module Name: src
Committed By: drochner
Date: Tue Nov 29 17:28:45 UTC 2011
Modified Files:
src/sys/net: if_gre.h
Log Message:
sys/pcq.h isn't installed to userland, so only include it ifdef _KERNEL,
fixes glitch in kdump build
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/net/if_gre.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_gre.h
diff -u src/sys/net/if_gre.h:1.41 src/sys/net/if_gre.h:1.42
--- src/sys/net/if_gre.h:1.41 Wed Nov 2 01:17:59 2011
+++ src/sys/net/if_gre.h Tue Nov 29 17:28:45 2011
@@ -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 */