Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net PR/48901: Fail at compile time when trying to compil...
details: https://anonhg.NetBSD.org/src/rev/6aa1b47eac51
branches: trunk
changeset: 329863:6aa1b47eac51
user: christos <christos%NetBSD.org@localhost>
date: Thu Jun 12 16:43:09 2014 +0000
description:
PR/48901: Fail at compile time when trying to compile stf without inet6,
and print an explanatory message.
diffstat:
sys/net/if_stf.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r cace79276313 -r 6aa1b47eac51 sys/net/if_stf.c
--- a/sys/net/if_stf.c Thu Jun 12 15:13:44 2014 +0000
+++ b/sys/net/if_stf.c Thu Jun 12 16:43:09 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_stf.c,v 1.79 2014/06/05 23:48:16 rmind Exp $ */
+/* $NetBSD: if_stf.c,v 1.80 2014/06/12 16:43:09 christos Exp $ */
/* $KAME: if_stf.c,v 1.62 2001/06/07 22:32:16 itojun Exp $ */
/*
@@ -75,9 +75,12 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.79 2014/06/05 23:48:16 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.80 2014/06/12 16:43:09 christos Exp $");
#include "opt_inet.h"
+#ifndef INET6
+ #error "pseudo-device stf requires options INET6"
+#endif
#include <sys/param.h>
#include <sys/systm.h>
Home |
Main Index |
Thread Index |
Old Index