From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:28 +0000 (+0000) Subject: winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ffab9a89cd18f41535598e390294fa67efc6c56;p=mesa.git winsys/amdgpu/addrlib: do not wrap header inclusion in extern "C" Signed-off-by: Emil Velikov Reviewed-by: Marek Olšák --- diff --git a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h index 03fbf2bd0ee..ead603378cf 100644 --- a/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h +++ b/src/gallium/winsys/amdgpu/drm/addrlib/addrinterface.h @@ -33,13 +33,13 @@ #ifndef __ADDR_INTERFACE_H__ #define __ADDR_INTERFACE_H__ +#include "addrtypes.h" + #if defined(__cplusplus) extern "C" { #endif -#include "addrtypes.h" - #define ADDRLIB_VERSION_MAJOR 5 #define ADDRLIB_VERSION_MINOR 25 #define ADDRLIB_VERSION ((ADDRLIB_VERSION_MAJOR << 16) | ADDRLIB_VERSION_MINOR)