> #ifndef _COMMON_H > #define _COMMON_H > > +#ifndef offsetof > #define offsetof(x, y) __builtin_offsetof(x, y) > +#endif Please just remove the defintion entirely and make sure we always have <stddef.h> included for the offsetoff definition.