Tree of Struct with Linked List
I'm trying to get a structure called "employee_struct"
where family_members are a linked list. but i cant even get the structure to work. i keep getting conflicting types of employee_struct. what is wrong with it?!
------------------------------------------
Code:
typedef struct employee_struct;
typedef struct {
char name;
int age;
int height;
int weight;
LIST* family_members;
}employee_struct;
-------------------------------
struct node{
employee_struct data;
node_t *left;
node_t *right;
}
------------------------------------