summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6a7b334)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#ifndef _BABELTRACE_COMPILER_H
#define _BABELTRACE_COMPILER_H
#ifndef _BABELTRACE_COMPILER_H
#define _BABELTRACE_COMPILER_H
+#include <stddef.h> /* for offsetof */
+
#define MAYBE_BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)]))
#ifndef container_of
#define MAYBE_BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)]))
#ifndef container_of