From: Iago Toral Quiroga Date: Fri, 26 Jul 2019 06:55:44 +0000 (+0200) Subject: v3d: add header guards in v3d_packet_helpers.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ffb8b1716f9282a4f5326ba3768d887601c3688;p=mesa.git v3d: add header guards in v3d_packet_helpers.h Reviewed-by: Eric Anholt --- diff --git a/src/broadcom/cle/v3d_packet_helpers.h b/src/broadcom/cle/v3d_packet_helpers.h index c46089a0e60..841df89b32a 100644 --- a/src/broadcom/cle/v3d_packet_helpers.h +++ b/src/broadcom/cle/v3d_packet_helpers.h @@ -21,6 +21,9 @@ * IN THE SOFTWARE. */ +#ifndef MESA_V3D_PACKET_HELPERS_H +#define MESA_V3D_PACKET_HELPERS_H + #include #include #include @@ -214,3 +217,4 @@ __gen_unpack_f187(const uint8_t *restrict cl, uint32_t start, uint32_t end) return uif(bits << 16); } +#endif