error: dereferencing pointer to incomplete type

C
The “dereferencing pointer to incomplete type” error commonly occurs in C when one tries to dereference a type (usually a struct) that is:

not declared at all.
declared, but not defined.
Source

Also in C: