diff options
author | Michał Janiszewski <[email protected]> | 2018-10-29 15:51:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-10-30 06:19:09 -0600 |
commit | 8ebd7039c4c46dfad9831ba4d70a2a5ea23f2f72 (patch) | |
tree | eb745ad0387e4fb53e1739a2d0671902439b6691 /src/gallium/drivers/svga | |
parent | 06544509119c2ea022f6302502953fd6eda6172c (diff) |
svga: Add missing include guards
Signed-off-by: Michał Janiszewski <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/include/svga3d_surfacedefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h index 9054e72207d..578b38dda78 100644 --- a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h +++ b/src/gallium/drivers/svga/include/svga3d_surfacedefs.h @@ -31,6 +31,9 @@ * Surface/format/image helper code. */ +#ifndef SVGA3D_SURFACEDEFS_H +#define SVGA3D_SURFACEDEFS_H + #include "svga3d_reg.h" #define max_t(type, x, y) ((x) > (y) ? (x) : (y)) @@ -1145,3 +1148,5 @@ svga3dsurface_get_pixel_offset(SVGA3dSurfaceFormat format, x / bw * desc->bytes_per_block); return offset; } + +#endif |