X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=direct%2Fyaffs_list.h;h=c0994934ad0af08d8a0523d9c12c33c55dcbba27;hb=c1422c27f5f17c68acf261209292c7489085df6b;hp=a7afaea27b13b413007ca721efd9ab0a4eebc702;hpb=83d99930038ef56463b6551aff5aa4d8348ce240;p=yaffs2.git diff --git a/direct/yaffs_list.h b/direct/yaffs_list.h index a7afaea..c099493 100644 --- a/direct/yaffs_list.h +++ b/direct/yaffs_list.h @@ -36,6 +36,10 @@ struct list_head { /* Initialise a static list */ +#ifdef LIST_HEAD +#undef LIST_HEAD +#endif + #define LIST_HEAD(name) \ struct list_head name = { &(name), &(name)}