summaryrefslogtreecommitdiff
path: root/lib/lacp.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2015-03-29 15:49:29 -0700
committerBen Pfaff <blp@nicira.com>2015-03-31 16:13:56 -0700
commit5617ae6abe492498ee6350fe657a53e0ba21f8ba (patch)
treee07be31bae683b8c993f3f1950e81a855ec253bb /lib/lacp.c
parent8d66822447710e1f9a365cb2158a75ba8ad8cc36 (diff)
downloadopenvswitch-5617ae6abe492498ee6350fe657a53e0ba21f8ba.tar.gz
hmap: Don't include ovs-atomic.h unnecessarily.
GNU C++ isn't too happy with ovs-atomic.h. We could fix that (maybe we should) but the report I received from a C++ user implied to me that it would be just as useful to just drop the unnecessary #include "ovs-atomic.h" from hmap.h. Reported-by: Michael Hu <humichael@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'lib/lacp.c')
-rw-r--r--lib/lacp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lacp.c b/lib/lacp.c
index 6535e6dfe..65149fdb3 100644
--- a/lib/lacp.c
+++ b/lib/lacp.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, 2012, 2013, 2014 Nicira, Inc.
+/* Copyright (c) 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
#include "hash.h"
#include "hmap.h"
#include "dp-packet.h"
+#include "ovs-atomic.h"
#include "packets.h"
#include "poll-loop.h"
#include "seq.h"