I just found out that the and headers are located in the /usr/include folder in Ubuntu server, but I don\
/usr/include
If you have locate command available you can simply use locate:
locate
-bash-3.2$ locate sys/types.h /usr/include/sys/types.h /usr/lib/syslinux/com32/include/sys/types.h -bash-3.2$
It's the quickest and simplest way to do it.