I\'m trying to compile a C program, but receive many errors.
The errors are encountered in standard C headers files (inttypes.h, stdio.h, stat.h, etc).
The sour
I found the problem:
These constants were supposed to be defined in sys/cdefs.h.
For some reason this file was in /usr/include/bsd/sys/cdefs.h.
The bsd version of cdefs.h did not have these constants defined.
I removed the bsd directory and reinstalled libc6-dev.
Everything appears to be working now.