[ovs-dev] [PATCH] thread: Keep openvswitch/thread.h #includes more contained within include/.

Ben Pfaff blp at ovn.org
Fri Feb 26 22:25:16 UTC 2016


It's better if the "include" directory is self-contained to the extent
possible.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 include/openvswitch/thread.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/openvswitch/thread.h b/include/openvswitch/thread.h
index 8a398af..af6f2bb 100644
--- a/include/openvswitch/thread.h
+++ b/include/openvswitch/thread.h
@@ -21,7 +21,7 @@
 #include <stddef.h>
 #include <stdbool.h>
 #include <sys/types.h>
-#include "util.h"
+#include "openvswitch/compiler.h"
 
 /* Mutex. */
 struct OVS_LOCKABLE ovs_mutex {
-- 
2.1.3




More information about the dev mailing list