When I try to compile a C program on MAC I get the following error message:
/usr/local/include/stdio.h:35:11: fatal error: 'bits/types.h' file not found
#include <bits/types.h>
Does anyone know how to fix this? I have played around with these files before.
Would be much appreciated!
According to this answer.
To Fix the error do the following.
sudo apt-get install build-essential flex libelf-dev libc6-dev-amd64 binutils-dev libdwarf-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With