diff ... libdrm-2.4.71/util_double_list.h --- libdrm-2.4.71/util_double_list.h.~1~ Tue Aug 2 16:22:45 2016 +++ libdrm-2.4.71/util_double_list.h Sat Nov 19 10:37:40 2016 @@ -110,7 +110,7 @@ #ifndef container_of #define container_of(ptr, sample, member) \ (void *)((char *)(ptr) \ - - ((char *)&((typeof(sample))0)->member)) + - ((char *)&((__typeof(sample))0)->member)) #endif #define LIST_FOR_EACH_ENTRY(pos, head, member) \