diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-23 10:52:44 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-11-23 10:52:44 +0000 |
commit | 90ffe301366d97266117c7713a9e2a30bf493161 (patch) | |
tree | 3f0806cd137be0913961e1da8d97faf67b0228e4 /sys/net/route.c | |
parent | c2a21f8a9400a1389362d02e8aa5c242934974b7 (diff) |
Include <sys/atomic.h> when atomic operations are used.
This has been masked because <sys/srp.h> is pulled unconditionally.
ok dlg@
Diffstat (limited to 'sys/net/route.c')
-rw-r--r-- | sys/net/route.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index abb00b7bc4f..535b8e59367 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.275 2015/11/20 13:12:14 jsg Exp $ */ +/* $OpenBSD: route.c,v 1.276 2015/11/23 10:52:43 mpi Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -113,6 +113,7 @@ #include <sys/kernel.h> #include <sys/queue.h> #include <sys/pool.h> +#include <sys/atomic.h> #include <net/if.h> #include <net/if_var.h> |