diff options
-rw-r--r-- | src/intel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h index 063d7664..b4828a50 100644 --- a/src/intel.h +++ b/src/intel.h @@ -130,6 +130,9 @@ list_is_empty(struct list *head) } #endif +/* XXX work around a broken define in list.h currently [ickle 20100713] */ +#undef container_of + #ifndef container_of #define container_of(ptr, type, member) \ (type *)((char *)(ptr) - (char *) &((type *)0)->member) |