From: Ben Pfaff Date: Tue, 6 Jan 2009 20:57:12 +0000 (-0800) Subject: Include "util.h" in hmap.h, to get CONTAINER_OF. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e21b1a03fda46aeb81d255fa1b09d1035cce8bc7;p=openvswitch Include "util.h" in hmap.h, to get CONTAINER_OF. --- diff --git a/lib/hmap.h b/lib/hmap.h index 60695fe2..5c6a54b1 100644 --- a/lib/hmap.h +++ b/lib/hmap.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -36,6 +36,7 @@ #include #include +#include "util.h" /* A hash map node, to be embedded inside the data structure being mapped. */ struct hmap_node {