fatal error: fcntl.h : No such file or directory 2 | #include<fcntl.h > | ^~~~~~~~~~compilation terminated.I am facing this problem while iam compiling file containing fcntl.h header file when using open system call in my c program in Ubuntu (its windows subsystem linux)
I have tried all possible ways/answers given on this askubuntu .com and on other sites, but error is still here. When I execute the following command it displays 6 instead of 45
dpkg -S fcntl.h| wc -l6