From a07192bd6395ea44d28db4f9fe3fd89f4b7aa94a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:26 +0000 Subject: [PATCH] mesa/main: do not wrap header inclusion in extern "C" Signed-off-by: Emil Velikov --- src/mesa/main/samplerobj.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h index abc6e019046..8e9539d8d8f 100644 --- a/src/mesa/main/samplerobj.h +++ b/src/mesa/main/samplerobj.h @@ -27,14 +27,12 @@ #ifndef SAMPLEROBJ_H #define SAMPLEROBJ_H +#include "mtypes.h" + #ifdef __cplusplus extern "C" { #endif - -#include "mtypes.h" - - struct dd_function_table; static inline struct gl_sampler_object * -- 2.30.2