Michael Frazis
Michael Frazis

Reputation: 31

fatal error: 'bits/types.h' file not found

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!

Upvotes: 3

Views: 9221

Answers (1)

Haris
Haris

Reputation: 12270

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

Upvotes: 1

Related Questions