From a79ba858f44d054c86299654b69a868ee5ecf727 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 21 Mar 2016 09:23:26 -0700 Subject: [PATCH] ofpbuf: Don't include unneeded "packets.h". Signed-off-by: Ben Pfaff Acked-by: Justin Pettit --- lib/ofpbuf.h | 3 ++- lib/rtnetlink.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ofpbuf.h b/lib/ofpbuf.h index 8008cb47f..0b66302b6 100644 --- a/lib/ofpbuf.h +++ b/lib/ofpbuf.h @@ -20,9 +20,10 @@ #include #include #include "list.h" -#include "packets.h" #include "util.h" +struct ds; + #ifdef __cplusplus extern "C" { #endif diff --git a/lib/rtnetlink.c b/lib/rtnetlink.c index d12467e41..1c95933c9 100644 --- a/lib/rtnetlink.c +++ b/lib/rtnetlink.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2013, 2015 Nicira, Inc. + * Copyright (c) 2009, 2010, 2013, 2015, 2016 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ #include "netlink.h" #include "netlink-notifier.h" #include "ofpbuf.h" +#include "packets.h" static struct nln *nln = NULL; static struct rtnetlink_change rtn_change; -- 2.20.1