summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-05-05 15:48:32 -0600
committerTim Rowley <[email protected]>2016-05-19 16:26:19 -0500
commit82e335ce675a28ecb0959cbf26d0e10fb4512cb7 (patch)
tree42cc8b56a5a058e43fc4bffb6a47d01c9f2cc030 /src
parent759d8cf3a3afedf8e3787787785f93278fd3acab (diff)
swr: [rasterizer common] include cstddef for offsetof
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h
index 7bfc66fde38..4076812e64a 100644
--- a/src/gallium/drivers/swr/rasterizer/common/os.h
+++ b/src/gallium/drivers/swr/rasterizer/common/os.h
@@ -24,6 +24,7 @@
#ifndef __SWR_OS_H__
#define __SWR_OS_H__
+#include <cstddef>
#include "core/knobs.h"
#if (defined(FORCE_WINDOWS) || defined(_WIN32)) && !defined(FORCE_LINUX)