I have these headers in a c code
#include <stdio.h>
#include <unistd.h>
Everything compiled fine until I added -std=c99 flag to gcc command (to enable restrict). And this triggered the following errors.
warning: implicit declaration of function
fileno
error:
F_LOCK
undeclared (first use in this function)
error: (Each undeclared identifier is reported only once error: for each function it appears in.)
error:F_ULOCK
undeclared (first use in this function
Any ideas to workaround these errors/warnings?