Incomplete type AvahiClient

67 Views Asked by At

I need to dynamically declare AvahiClient*. So for that I used
AvahiClient *c = (AvahiClient*)malloc(sizeof(AvahiClient)) but this and all other methods to get size of AvahiClient gives error of the form incomplete type ‘AvahiClient’ {aka ‘struct AvahiClient’}. So is there a way to get size of AvahiClient?

0

There are 0 best solutions below