Make sure #include "common.h" at the first line of code.