[ovs-dev] [PATCH 16/16] Add missing <stdint.h> includes.

Ben Pfaff blp at nicira.com
Thu Feb 11 15:18:18 PST 2010


Reported-by: Jean Tourrilhes <jt at hpl.hp.com>
---
 lib/classifier.h   |    3 ++-
 ofproto/netflow.h  |    3 ++-
 ofproto/pinsched.c |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/classifier.h b/lib/classifier.h
index 14fd707..75744ef 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009 Nicira Networks.
+ * Copyright (c) 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -41,6 +41,7 @@
  * turn, looking for the highest-priority match, and return it (if any).
  */
 
+#include <stdint.h>
 #include "flow.h"
 #include "hmap.h"
 #include "list.h"
diff --git a/ofproto/netflow.h b/ofproto/netflow.h
index cc7b960..2450506 100644
--- a/ofproto/netflow.h
+++ b/ofproto/netflow.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
 #ifndef NETFLOW_H
 #define NETFLOW_H 1
 
+#include <stdint.h>
 #include "flow.h"
 #include "svec.h"
 
diff --git a/ofproto/pinsched.c b/ofproto/pinsched.c
index 0afd22f..306d851 100644
--- a/ofproto/pinsched.c
+++ b/ofproto/pinsched.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
 #include <config.h>
 #include "pinsched.h"
 #include <arpa/inet.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include "ofpbuf.h"
 #include "openflow/openflow.h"
-- 
1.6.6.1





More information about the dev mailing list