Tag Archives: MAC Compile Error

[Solved] MAC Compile Error: fatal error: ‘endian.h‘ file not found

Specific error

In file included from conf.c:427:
In file included from ../include/local.h:146:
In file included from ../include/sound/asound.h:4:
../include/alsa/sound/uapi/asound.h:31:10: fatal error: 'endian.h' file not
      found
#include <endian.h>

Solution:

Change to <machine/endian.h> Just.

Others say it should be changed to <Endian.h>, Tried, it didn’t work!