Include stddef.h for offsetof() in cpuid_reader.cc

Fixes the build for x86_64-linux-gnu-g++-6 6.3.0 20170516
on a recent Debian Testing system [Debian GNU/Linux 9.0 (stretch)].

Change-Id: Ibaa7b314723d41259703d723cbdd326982aaf159
Reviewed-on: https://chromium-review.googlesource.com/675576
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Leonard Mosescu <mosescu@chromium.org>
Commit-Queue: Dave Bort <dbort@google.com>
This commit is contained in:
Dave Bort 2017-09-21 11:38:44 -07:00 committed by Commit Bot
parent 20ed4146d3
commit be7b8a509c

View File

@ -14,6 +14,8 @@
#include "snapshot/x86/cpuid_reader.h" #include "snapshot/x86/cpuid_reader.h"
#include <stddef.h>
#include "build/build_config.h" #include "build/build_config.h"
#include "snapshot/cpu_context.h" #include "snapshot/cpu_context.h"