union variable error(storage size isn't known) - Linux

This is a discussion on union variable error(storage size isn't known) - Linux ; union semun semun0;
semun0.val=1;
There is an error when compiling, that is like below.
storage size of 'semun0' isn't known...