swr: [rasterizer common] include cstddef for offsetof
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 5 May 2016 21:48:32 +0000 (15:48 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 19 May 2016 21:26:19 +0000 (16:26 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/os.h

index 7bfc66fde38f5c96e76b0f5a29c58147cf5e9e7a..4076812e64a2253b7048932b29ac328f7595a8d5 100644 (file)
@@ -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)