From dfbc2ec7c33c5fd5791ac09676e73e479b5186df Mon Sep 17 00:00:00 2001 From: Will Newton Date: Thu, 11 Oct 2012 12:51:15 -0400 Subject: [PATCH] lib/ringbuffer/frontend_api.h: Include linux/prefetch.h. prefetch() is used in this file so make sure we include the appropriate header before using it. Signed-off-by: Will Newton Signed-off-by: Mathieu Desnoyers --- lib/ringbuffer/frontend_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ringbuffer/frontend_api.h b/lib/ringbuffer/frontend_api.h index cc098274..c36ec3dc 100644 --- a/lib/ringbuffer/frontend_api.h +++ b/lib/ringbuffer/frontend_api.h @@ -31,6 +31,7 @@ #include "../../wrapper/ringbuffer/frontend.h" #include +#include /** * lib_ring_buffer_get_cpu - Precedes ring buffer reserve/commit. -- 2.34.1