ofpbuf: Don't include unneeded "packets.h".
authorBen Pfaff <blp@ovn.org>
Mon, 21 Mar 2016 16:23:26 +0000 (09:23 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Mar 2016 16:46:18 +0000 (09:46 -0700)
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
lib/ofpbuf.h
lib/rtnetlink.c

index 8008cb4..0b66302 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 #include "list.h"
-#include "packets.h"
 #include "util.h"
 
+struct ds;
+
 #ifdef  __cplusplus
 extern "C" {
 #endif
index d12467e..1c95933 100644 (file)
@@ -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;