This can be resolved by including <time.h> in the view_data.h directly. I have not checked if the time.h is already included within an earlier include, I have checked this problem by getting the ...