Problem with struct

This crashes in CodeGen.

struct dns_qlink {
  struct dns_query *next;
};

struct dns_query {
  struct dns_qlink dnsq_link;
};

void qlist_init(struct dns_qlink *list) {}

Code from UDNS by Michael Tokarev.