summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Warren <ben@skyportsystems.com>2016-03-25 14:10:21 -0700
committerBen Pfaff <blp@ovn.org>2016-03-30 13:01:21 -0700
commitb19bab5b207da94c2f71b8df25fcfe47ee778a29 (patch)
tree5a2d1a3002668b7d7a7fe23f1785009f6889bfac
parent9834a6039f4032fe6752fa165f870feda7dce9b1 (diff)
downloadopenvswitch-b19bab5b207da94c2f71b8df25fcfe47ee778a29.tar.gz
list: Remove lib/list.h completely.
All code is now in include/openvswitch/list.h. Signed-off-by: Ben Warren <ben@skyportsystems.com> Acked-by: Ryan Moats <rmoats@us.ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--lib/automake.mk1
-rw-r--r--lib/bfd.c2
-rw-r--r--lib/dp-packet.h2
-rw-r--r--lib/dpif-netdev.c2
-rw-r--r--lib/fat-rwlock.c2
-rw-r--r--lib/fat-rwlock.h2
-rw-r--r--lib/guarded-list.h2
-rw-r--r--lib/jsonrpc.c2
-rw-r--r--lib/list.h23
-rw-r--r--lib/lldp/aa-structs.h2
-rw-r--r--lib/lldp/lldpd.c2
-rw-r--r--lib/lldp/lldpd.h2
-rw-r--r--lib/mac-learning.c2
-rw-r--r--lib/mac-learning.h2
-rw-r--r--lib/mcast-snooping.c2
-rw-r--r--lib/mcast-snooping.h2
-rw-r--r--lib/netdev-dpdk.c2
-rw-r--r--lib/netdev-dummy.c2
-rw-r--r--lib/netdev-provider.h2
-rw-r--r--lib/netdev-vport.c2
-rw-r--r--lib/netdev.c2
-rw-r--r--lib/netlink-notifier.h2
-rw-r--r--lib/ofp-util.h2
-rw-r--r--lib/ofpbuf.h2
-rw-r--r--lib/ovs-lldp.c2
-rw-r--r--lib/ovs-lldp.h2
-rw-r--r--lib/ovs-numa.c2
-rw-r--r--lib/ovs-numa.h2
-rw-r--r--lib/ovs-rcu.c2
-rw-r--r--lib/ovs-thread.c2
-rw-r--r--lib/ovsdb-idl-provider.h2
-rw-r--r--lib/poll-loop.c2
-rw-r--r--lib/process.c2
-rw-r--r--lib/rstp-common.h2
-rw-r--r--lib/rtbsd.h2
-rw-r--r--lib/seq.c2
-rw-r--r--lib/tnl-ports.c2
-rw-r--r--lib/unixctl.c2
-rw-r--r--ofproto/bond.c2
-rw-r--r--ofproto/connmgr.h2
-rw-r--r--ofproto/ofproto-dpif-ipfix.c2
-rw-r--r--ofproto/ofproto-dpif-rid.h2
-rw-r--r--ofproto/ofproto-dpif-upcall.c2
-rw-r--r--ofproto/ofproto-dpif-xlate.c2
-rw-r--r--ofproto/ofproto-provider.h2
-rw-r--r--ovn/lib/expr.h2
-rw-r--r--ovsdb/ovsdb-server.c2
-rw-r--r--ovsdb/ovsdb.h2
-rw-r--r--ovsdb/row.h2
-rw-r--r--ovsdb/server.h2
-rw-r--r--ovsdb/transaction.c2
-rw-r--r--ovsdb/trigger.h2
-rw-r--r--tests/test-list.c4
-rw-r--r--vswitchd/bridge.c2
54 files changed, 53 insertions, 77 deletions
diff --git a/lib/automake.mk b/lib/automake.mk
index 211f3c0fc..3eae15b65 100644
--- a/lib/automake.mk
+++ b/lib/automake.mk
@@ -110,7 +110,6 @@ lib_libopenvswitch_la_SOURCES = \
lib/learn.h \
lib/learning-switch.c \
lib/learning-switch.h \
- lib/list.h \
lib/lockfile.c \
lib/lockfile.h \
lib/mac-learning.c \
diff --git a/lib/bfd.c b/lib/bfd.c
index c0e06af98..909697f2a 100644
--- a/lib/bfd.c
+++ b/lib/bfd.c
@@ -30,7 +30,7 @@
#include "flow.h"
#include "hash.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev.h"
#include "odp-util.h"
#include "ofpbuf.h"
diff --git a/lib/dp-packet.h b/lib/dp-packet.h
index bf4e7581c..000b09dd6 100644
--- a/lib/dp-packet.h
+++ b/lib/dp-packet.h
@@ -19,7 +19,7 @@
#include <stddef.h>
#include <stdint.h>
-#include "list.h"
+#include "openvswitch/list.h"
#include "packets.h"
#include "util.h"
#include "netdev-dpdk.h"
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 0f2385a90..85587321b 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -44,7 +44,7 @@
#include "flow.h"
#include "hmapx.h"
#include "latch.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "match.h"
#include "netdev.h"
#include "netdev-dpdk.h"
diff --git a/lib/fat-rwlock.c b/lib/fat-rwlock.c
index 89cff1d29..b36cd4cb7 100644
--- a/lib/fat-rwlock.c
+++ b/lib/fat-rwlock.c
@@ -21,7 +21,7 @@
#include <errno.h>
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "random.h"
diff --git a/lib/fat-rwlock.h b/lib/fat-rwlock.h
index 257cd563d..181fa9238 100644
--- a/lib/fat-rwlock.h
+++ b/lib/fat-rwlock.h
@@ -18,7 +18,7 @@
#define FAT_RWLOCK_H 1
#include "compiler.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
/* "Fat rwlock".
diff --git a/lib/guarded-list.h b/lib/guarded-list.h
index 3e46d513b..80ce22c12 100644
--- a/lib/guarded-list.h
+++ b/lib/guarded-list.h
@@ -19,7 +19,7 @@
#include <stddef.h>
#include "compiler.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
struct guarded_list {
diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c
index 868dd4040..33d23e1a0 100644
--- a/lib/jsonrpc.c
+++ b/lib/jsonrpc.c
@@ -24,7 +24,7 @@
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
#include "json.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ofpbuf.h"
#include "ovs-thread.h"
#include "poll-loop.h"
diff --git a/lib/list.h b/lib/list.h
deleted file mode 100644
index f641d3907..000000000
--- a/lib/list.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2008, 2009, 2010, 2011, 2013, 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.
- * You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-#ifndef LIST_H
-#define LIST_H 1
-
-/* Doubly linked list. */
-
-#include "openvswitch/list.h"
-
-#endif /* list.h */
diff --git a/lib/lldp/aa-structs.h b/lib/lldp/aa-structs.h
index 473031ef3..075729397 100644
--- a/lib/lldp/aa-structs.h
+++ b/lib/lldp/aa-structs.h
@@ -21,7 +21,7 @@
#define AA_STRUCTS_H
#include <stdint.h>
-#include "list.h"
+#include "openvswitch/list.h"
struct lldp_aa_element_system_id {
struct eth_addr system_mac;
diff --git a/lib/lldp/lldpd.c b/lib/lldp/lldpd.c
index 71f7e44b6..da8608309 100644
--- a/lib/lldp/lldpd.c
+++ b/lib/lldp/lldpd.c
@@ -39,7 +39,7 @@
#include <sys/utsname.h>
#endif
#include "compiler.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "packets.h"
#include "timeval.h"
diff --git a/lib/lldp/lldpd.h b/lib/lldp/lldpd.h
index c295ab413..fc2ae53c6 100644
--- a/lib/lldp/lldpd.h
+++ b/lib/lldp/lldpd.h
@@ -27,7 +27,7 @@
#include <string.h>
#include <sys/types.h>
#include "dp-packet.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "lldpd-structs.h"
#include "lldp-tlv.h"
#include "packets.h"
diff --git a/lib/mac-learning.c b/lib/mac-learning.c
index f7c2781d5..6eda1faa7 100644
--- a/lib/mac-learning.c
+++ b/lib/mac-learning.c
@@ -23,7 +23,7 @@
#include "bitmap.h"
#include "coverage.h"
#include "hash.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "poll-loop.h"
#include "timeval.h"
#include "unaligned.h"
diff --git a/lib/mac-learning.h b/lib/mac-learning.h
index 1f4170640..0b62d09c0 100644
--- a/lib/mac-learning.h
+++ b/lib/mac-learning.h
@@ -20,7 +20,7 @@
#include <time.h>
#include "heap.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-atomic.h"
#include "ovs-thread.h"
#include "packets.h"
diff --git a/lib/mcast-snooping.c b/lib/mcast-snooping.c
index ee3e2e118..356006950 100644
--- a/lib/mcast-snooping.c
+++ b/lib/mcast-snooping.c
@@ -26,7 +26,7 @@
#include "byte-order.h"
#include "coverage.h"
#include "hash.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "poll-loop.h"
#include "timeval.h"
#include "entropy.h"
diff --git a/lib/mcast-snooping.h b/lib/mcast-snooping.h
index 99c314db1..84b9c57a9 100644
--- a/lib/mcast-snooping.h
+++ b/lib/mcast-snooping.h
@@ -22,7 +22,7 @@
#include <time.h>
#include "dp-packet.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-atomic.h"
#include "ovs-thread.h"
#include "packets.h"
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 8eea788c2..aa3632952 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -34,7 +34,7 @@
#include "dp-packet.h"
#include "dpif-netdev.h"
#include "fatal-signal.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev-dpdk.h"
#include "netdev-provider.h"
#include "netdev-vport.h"
diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c
index 8be1ba790..933ecc861 100644
--- a/lib/netdev-dummy.c
+++ b/lib/netdev-dummy.c
@@ -24,7 +24,7 @@
#include "dpif-netdev.h"
#include "openvswitch/dynamic-string.h"
#include "flow.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev-provider.h"
#include "netdev-vport.h"
#include "odp-util.h"
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index 441962940..cda25eb90 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -21,7 +21,7 @@
#include "connectivity.h"
#include "netdev.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-numa.h"
#include "packets.h"
#include "seq.h"
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c
index 2e509d3b1..e398562c6 100644
--- a/lib/netdev-vport.c
+++ b/lib/netdev-vport.c
@@ -36,7 +36,7 @@
#include "flow.h"
#include "hash.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev-provider.h"
#include "odp-netlink.h"
#include "dp-packet.h"
diff --git a/lib/netdev.c b/lib/netdev.c
index 95fdbc749..47d6a8dbe 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -37,7 +37,7 @@
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
#include "hash.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev-dpdk.h"
#include "netdev-provider.h"
#include "netdev-vport.h"
diff --git a/lib/netlink-notifier.h b/lib/netlink-notifier.h
index 4bd90f1dc..da72fc787 100644
--- a/lib/netlink-notifier.h
+++ b/lib/netlink-notifier.h
@@ -20,7 +20,7 @@
/* These functions are Linux specific, so they should be used directly only by
* Linux-specific code. */
-#include "list.h"
+#include "openvswitch/list.h"
struct nln;
struct nln_notifier;
diff --git a/lib/ofp-util.h b/lib/ofp-util.h
index 31cbe2db5..379257c41 100644
--- a/lib/ofp-util.h
+++ b/lib/ofp-util.h
@@ -23,7 +23,7 @@
#include "bitmap.h"
#include "compiler.h"
#include "flow.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "match.h"
#include "meta-flow.h"
#include "netdev.h"
diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h
index 0b66302b6..2acca4818 100644
--- a/lib/ofpbuf.h
+++ b/lib/ofpbuf.h
@@ -19,7 +19,7 @@
#include <stddef.h>
#include <stdint.h>
-#include "list.h"
+#include "openvswitch/list.h"
#include "util.h"
struct ds;
diff --git a/lib/ovs-lldp.c b/lib/ovs-lldp.c
index 4ad746718..b78967774 100644
--- a/lib/ovs-lldp.c
+++ b/lib/ovs-lldp.c
@@ -36,7 +36,7 @@
#include <sys/types.h>
#include "openvswitch/dynamic-string.h"
#include "flow.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "lldp/lldpd.h"
#include "lldp/lldpd-structs.h"
#include "netdev.h"
diff --git a/lib/ovs-lldp.h b/lib/ovs-lldp.h
index 71dff4491..b5c3a48c9 100644
--- a/lib/ovs-lldp.h
+++ b/lib/ovs-lldp.h
@@ -22,7 +22,7 @@
#include <stdint.h>
#include "dp-packet.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "lldp/lldpd.h"
#include "ovs-atomic.h"
#include "packets.h"
diff --git a/lib/ovs-numa.c b/lib/ovs-numa.c
index 2765ae2db..b92522d93 100644
--- a/lib/ovs-numa.c
+++ b/lib/ovs-numa.c
@@ -30,7 +30,7 @@
#include "hash.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "openvswitch/vlog.h"
diff --git a/lib/ovs-numa.h b/lib/ovs-numa.h
index 1435d3d97..e7ff46556 100644
--- a/lib/ovs-numa.h
+++ b/lib/ovs-numa.h
@@ -21,7 +21,7 @@
#include <stdbool.h>
#include "compiler.h"
-#include "list.h"
+#include "openvswitch/list.h"
#define OVS_CORE_UNSPEC INT_MAX
#define OVS_NUMA_UNSPEC INT_MAX
diff --git a/lib/ovs-rcu.c b/lib/ovs-rcu.c
index b8f8bc481..b71b075fe 100644
--- a/lib/ovs-rcu.c
+++ b/lib/ovs-rcu.c
@@ -18,7 +18,7 @@
#include "ovs-rcu.h"
#include "fatal-signal.h"
#include "guarded-list.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "poll-loop.h"
#include "seq.h"
diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c
index 1a463a727..dd95ab72c 100644
--- a/lib/ovs-thread.c
+++ b/lib/ovs-thread.c
@@ -26,7 +26,7 @@
#include "compiler.h"
#include "fatal-signal.h"
#include "hash.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev-dpdk.h"
#include "ovs-rcu.h"
#include "poll-loop.h"
diff --git a/lib/ovsdb-idl-provider.h b/lib/ovsdb-idl-provider.h
index 190acca84..027f79bfe 100644
--- a/lib/ovsdb-idl-provider.h
+++ b/lib/ovsdb-idl-provider.h
@@ -17,7 +17,7 @@
#define OVSDB_IDL_PROVIDER_H 1
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovsdb-idl.h"
#include "ovsdb-types.h"
#include "shash.h"
diff --git a/lib/poll-loop.c b/lib/poll-loop.c
index 9e06e0fed..925198f0c 100644
--- a/lib/poll-loop.c
+++ b/lib/poll-loop.c
@@ -24,7 +24,7 @@
#include "coverage.h"
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "seq.h"
#include "socket-util.h"
diff --git a/lib/process.c b/lib/process.c
index 7407b1e3e..5c257ed7e 100644
--- a/lib/process.c
+++ b/lib/process.c
@@ -28,7 +28,7 @@
#include "coverage.h"
#include "openvswitch/dynamic-string.h"
#include "fatal-signal.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "poll-loop.h"
#include "signals.h"
diff --git a/lib/rstp-common.h b/lib/rstp-common.h
index 7bbee4d22..6d5acfc46 100644
--- a/lib/rstp-common.h
+++ b/lib/rstp-common.h
@@ -34,7 +34,7 @@
#include <stdbool.h>
#include <stdint.h>
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-atomic.h"
#include "packets.h"
diff --git a/lib/rtbsd.h b/lib/rtbsd.h
index d6b79f3ad..6676b9dcd 100644
--- a/lib/rtbsd.h
+++ b/lib/rtbsd.h
@@ -18,7 +18,7 @@
#define RTBSD_H 1
#include <net/if.h>
-#include "list.h"
+#include "openvswitch/list.h"
/*
* A digested version of a message received from a PF_ROUTE socket which
diff --git a/lib/seq.c b/lib/seq.c
index 9c3257c87..704340591 100644
--- a/lib/seq.c
+++ b/lib/seq.c
@@ -24,7 +24,7 @@
#include "hash.h"
#include "hmap.h"
#include "latch.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-thread.h"
#include "poll-loop.h"
diff --git a/lib/tnl-ports.c b/lib/tnl-ports.c
index 59e5abb78..0e329ecaa 100644
--- a/lib/tnl-ports.c
+++ b/lib/tnl-ports.c
@@ -25,7 +25,7 @@
#include "classifier.h"
#include "openvswitch/dynamic-string.h"
#include "hash.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev.h"
#include "ofpbuf.h"
#include "ovs-thread.h"
diff --git a/lib/unixctl.c b/lib/unixctl.c
index 30fcc695c..c91dd0a9d 100644
--- a/lib/unixctl.c
+++ b/lib/unixctl.c
@@ -23,7 +23,7 @@
#include "openvswitch/dynamic-string.h"
#include "json.h"
#include "jsonrpc.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "poll-loop.h"
#include "shash.h"
#include "stream.h"
diff --git a/ofproto/bond.c b/ofproto/bond.c
index ab77f503c..29c075c31 100644
--- a/ofproto/bond.c
+++ b/ofproto/bond.c
@@ -35,7 +35,7 @@
#include "flow.h"
#include "hmap.h"
#include "lacp.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netdev.h"
#include "odp-util.h"
#include "ofpbuf.h"
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index dfc06e34a..637ad170c 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -19,7 +19,7 @@
#include "classifier.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "match.h"
#include "ofp-util.h"
#include "ofproto.h"
diff --git a/ofproto/ofproto-dpif-ipfix.c b/ofproto/ofproto-dpif-ipfix.c
index a610c5362..9d605b211 100644
--- a/ofproto/ofproto-dpif-ipfix.c
+++ b/ofproto/ofproto-dpif-ipfix.c
@@ -22,7 +22,7 @@
#include "flow.h"
#include "hash.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ofpbuf.h"
#include "ofproto.h"
#include "ofproto-dpif.h"
diff --git a/ofproto/ofproto-dpif-rid.h b/ofproto/ofproto-dpif-rid.h
index 8ada5328c..287663a9f 100644
--- a/ofproto/ofproto-dpif-rid.h
+++ b/ofproto/ofproto-dpif-rid.h
@@ -21,7 +21,7 @@
#include <stdint.h>
#include "cmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ofp-actions.h"
#include "ofproto-dpif-mirror.h"
#include "ovs-thread.h"
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index bc316e44a..9c64b6b9f 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -27,7 +27,7 @@
#include "fail-open.h"
#include "guarded-list.h"
#include "latch.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "netlink.h"
#include "ofpbuf.h"
#include "ofproto-dpif-ipfix.h"
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 19e690ec1..873b284f4 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -37,7 +37,7 @@
#include "in-band.h"
#include "lacp.h"
#include "learn.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-lldp.h"
#include "mac-learning.h"
#include "mcast-snooping.h"
diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h
index 5938ba683..9373a2cb1 100644
--- a/ofproto/ofproto-provider.h
+++ b/ofproto/ofproto-provider.h
@@ -38,7 +38,7 @@
#include "guarded-list.h"
#include "heap.h"
#include "hindex.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ofp-actions.h"
#include "ofp-util.h"
#include "ofproto/ofproto.h"
diff --git a/ovn/lib/expr.h b/ovn/lib/expr.h
index de27f09ee..fa7ccbebb 100644
--- a/ovn/lib/expr.h
+++ b/ovn/lib/expr.h
@@ -55,7 +55,7 @@
#include "classifier.h"
#include "lex.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "match.h"
#include "meta-flow.h"
diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c
index 459a0dd61..4e2c8d0d3 100644
--- a/ovsdb/ovsdb-server.c
+++ b/ovsdb/ovsdb-server.c
@@ -33,7 +33,7 @@
#include "json.h"
#include "jsonrpc.h"
#include "jsonrpc-server.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "memory.h"
#include "monitor.h"
#include "ovsdb.h"
diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h
index 04586e746..b3eaf15f0 100644
--- a/ovsdb/ovsdb.h
+++ b/ovsdb/ovsdb.h
@@ -18,7 +18,7 @@
#include "compiler.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "shash.h"
struct json;
diff --git a/ovsdb/row.h b/ovsdb/row.h
index 62820d5a6..b1d1edd47 100644
--- a/ovsdb/row.h
+++ b/ovsdb/row.h
@@ -20,7 +20,7 @@
#include <stdint.h>
#include "column.h"
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovsdb-data.h"
struct ovsdb_column_set;
diff --git a/ovsdb/server.h b/ovsdb/server.h
index 82c733f09..667fce992 100644
--- a/ovsdb/server.h
+++ b/ovsdb/server.h
@@ -17,7 +17,7 @@
#define SERVER_H 1
#include "hmap.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "shash.h"
struct ovsdb;
diff --git a/ovsdb/transaction.c b/ovsdb/transaction.c
index 09abdcb84..725c6f552 100644
--- a/ovsdb/transaction.c
+++ b/ovsdb/transaction.c
@@ -22,7 +22,7 @@
#include "hash.h"
#include "hmap.h"
#include "json.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovsdb-error.h"
#include "ovsdb.h"
#include "row.h"
diff --git a/ovsdb/trigger.h b/ovsdb/trigger.h
index 823ea9b28..867a28c70 100644
--- a/ovsdb/trigger.h
+++ b/ovsdb/trigger.h
@@ -16,7 +16,7 @@
#ifndef OVSDB_TRIGGER_H
#define OVSDB_TRIGGER_H 1
-#include "list.h"
+#include "openvswitch/list.h"
struct ovsdb;
diff --git a/tests/test-list.c b/tests/test-list.c
index 5dd338565..162ae9a88 100644
--- a/tests/test-list.c
+++ b/tests/test-list.c
@@ -15,11 +15,11 @@
*/
/* A non-exhaustive test for some of the functions and macros declared in
- * list.h. */
+ * openvswitch/list.h. */
#include <config.h>
#undef NDEBUG
-#include "list.h"
+#include "openvswitch/list.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index d3395714b..e28d95dd9 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -34,7 +34,7 @@
#include "hmapx.h"
#include "jsonrpc.h"
#include "lacp.h"
-#include "list.h"
+#include "openvswitch/list.h"
#include "ovs-lldp.h"
#include "mac-learning.h"
#include "mcast-snooping.h"