I just found out that the and headers are located in the /usr/include folder in Ubuntu server, but I don\
/usr/include
On Linux, types.h should be in /usr/include/sys/types.h.
types.h
/usr/include/sys/types.h