From 83fbee6e0be46efab4b60ba50fceb103f8937ac1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 21 Sep 2009 11:09:00 -0600 Subject: progs/perf: offsetof() should be defined in stddef.h, include it If this breaks mingw, feel free to revert this. --- progs/perf/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'progs/perf/common.h') diff --git a/progs/perf/common.h b/progs/perf/common.h index fc49bbed32..6ea17402b5 100644 --- a/progs/perf/common.h +++ b/progs/perf/common.h @@ -24,6 +24,9 @@ #define COMMON_H +#include /* for offsetof() */ + + typedef void (*PerfRateFunc)(unsigned count); -- cgit v1.2.3