Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Include sys/atomic.h now that it's used but gets ste...



details:   https://anonhg.NetBSD.org/src/rev/d07053b9724e
branches:  trunk
changeset: 751142:d07053b9724e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Jan 26 01:06:23 2010 +0000

description:
Include sys/atomic.h now that it's used but gets stealth-included
only on some archs.

diffstat:

 sys/net/bpf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 51edcadd9b47 -r d07053b9724e sys/net/bpf.c
--- a/sys/net/bpf.c     Mon Jan 25 22:26:19 2010 +0000
+++ b/sys/net/bpf.c     Tue Jan 26 01:06:23 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpf.c,v 1.154 2010/01/25 22:18:17 pooka Exp $  */
+/*     $NetBSD: bpf.c,v 1.155 2010/01/26 01:06:23 pooka Exp $  */
 
 /*
  * Copyright (c) 1990, 1991, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.154 2010/01/25 22:18:17 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.155 2010/01/26 01:06:23 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_bpf.h"
@@ -60,6 +60,7 @@
 #include <sys/stat.h>
 #include <sys/module.h>
 #include <sys/once.h>
+#include <sys/atomic.h>
 
 #include <sys/file.h>
 #include <sys/filedesc.h>



Home | Main Index | Thread Index | Old Index