<p>Jonathan Neuschäfer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22230">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">commonlib/helpers.h: Include stdlib.h<br><br>The definition of offsetof() uses size_t, which is declared in stddef.h,<br>according to POSIX. Include stddef.h directly to avoid relying on<br>implicit inclusion.<br><br>Change-Id: I221be02c332de55c9fcf7d86673709ed43dd5c3c<br>Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net><br>---<br>M src/commonlib/include/commonlib/helpers.h<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/22230/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/commonlib/include/commonlib/helpers.h b/src/commonlib/include/commonlib/helpers.h<br>index 0a796ba..77e9f1f 100644<br>--- a/src/commonlib/include/commonlib/helpers.h<br>+++ b/src/commonlib/include/commonlib/helpers.h<br>@@ -15,6 +15,8 @@<br> #define COMMONLIB_HELPERS_H<br> /* This file is for helpers for both coreboot firmware and its utilities. */<br> <br>+#include <stddef.h><br>+<br> #ifndef ARRAY_SIZE<br> #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))<br> #endif<br></pre><p>To view, visit <a href="https://review.coreboot.org/22230">change 22230</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22230"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I221be02c332de55c9fcf7d86673709ed43dd5c3c </div>
<div style="display:none"> Gerrit-Change-Number: 22230 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>