[Oisf-devel] [PATCH 06/10] Include affinity in runmodes and threadvars.

Eric Leblond eleblond at edenwall.com
Sun Nov 21 13:30:49 UTC 2010


This small patch add inclusion of util-affinity.h in the
files that will have to use affinity related features.

Signed-off-by: Eric Leblond <eleblond at edenwall.com>
---
 src/runmodes.c   |    1 +
 src/threadvars.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/runmodes.c b/src/runmodes.c
index bc39d90..6975fa4 100644
--- a/src/runmodes.c
+++ b/src/runmodes.c
@@ -30,6 +30,7 @@
 #include "util-time.h"
 #include "util-cpu.h"
 #include "util-byte.h"
+#include "util-affinity.h"
 #include "conf.h"
 #include "queue.h"
 
diff --git a/src/threadvars.h b/src/threadvars.h
index e7cc9b8..6cebb24 100644
--- a/src/threadvars.h
+++ b/src/threadvars.h
@@ -25,6 +25,7 @@
 #define __THREADVARS_H__
 
 #include "util-mpm.h"
+#include "util-affinity.h"
 #include "tm-queues.h"
 #include "counters.h"
 #include "threads.h"
-- 
1.7.2.3




More information about the Oisf-devel mailing list