From 29fb9b099addca2178c8f38dfc52588f28f3ae8a Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Wed, 5 Feb 2014 08:47:45 +0530 Subject: [PATCH] CUDA: Fix header file resolution issues. --- src/decode.c | 1 + src/util-mpm-ac.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/decode.c b/src/decode.c index dc16b86d48..dc0d886dc3 100644 --- a/src/decode.c +++ b/src/decode.c @@ -61,6 +61,7 @@ #include "tmqh-packetpool.h" #include "util-profiling.h" #include "pkt-var.h" +#include "util-mpm-ac.h" int DecodeTunnel(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, uint8_t *pkt, uint16_t len, PacketQueue *pq, uint8_t proto) diff --git a/src/util-mpm-ac.h b/src/util-mpm-ac.h index d398f07aa3..18491f7cb3 100644 --- a/src/util-mpm-ac.h +++ b/src/util-mpm-ac.h @@ -29,9 +29,13 @@ #define SC_AC_STATE_TYPE_U32 uint32_t #ifdef __SC_CUDA_SUPPORT__ +#include "suricata-common.h" #include "util-cuda.h" #include "util-cuda-vars.h" #include "decode.h" +#include "util-cuda-buffer.h" +#include "util-mpm.h" +#include "flow.h" #endif /* __SC_CUDA_SUPPORT__ */ typedef struct SCACPattern_ {