X-Git-Url: http://aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_list.h;h=c0994934ad0af08d8a0523d9c12c33c55dcbba27;hp=a7afaea27b13b413007ca721efd9ab0a4eebc702;hb=c1422c27f5f17c68acf261209292c7489085df6b;hpb=b6a3ae56bbcd59fdc1769f69f445a5e43f8297bc 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)}