Trying to compile a C program using Ubuntu 7.10 (gutsy gibbon)
By default, Ubuntu doesn't come with standard headers installed.
sudo apt-get install build-essentials
fixed the problem.
Answered via a google search [ubuntu gcc error: sys/types.h: No such file or directory] that returned a link to this page:
http://forum.kernelnewbie...p?10,18,18
Comments
tiny typo in solution - the package is "build-essential" (not plural): sudo apt-get install build-essential