#include <stdio.h>
struct m_tag {
short m_tag_id;
short m_tag_len;
int m_tag_cookie;
};
struct packet_tags {
struct m_tag *slh_first;
}tags;
#define SFIRST(head) ((head).slh_first)
int main(void) {
printf("%p\n", SFIRST(&tags));
return 0;
}
In function 'main': error: request for member 'slh_first' in something not a structure or union
what is the problem with this code?