Normally you would do this like so:

Code:

typedef struct PARENT PARENT;
typedef struct CHILD CHILD;

struct CHILD {
PARENT *parent;
};
struct PARENT {
CHILD *child;
};



But that doesn't work, so I think it's a bug.