Red Hat Bugzilla – Bug 666
Last modified: 2008-05-01 11:37:48 EDT
When compiling ALSA-driver (see URL for ALSA home page), I
got numerous errors about missing bytesex.h. It's not in
glibc-devel-2.0.108-0.981221, so I ended up copying it from
glibc-2.0.7-29 from RedHat 5.2 For your reference,
bytesex.h is a really tiny header file which looks like this
/* i386 is little-endian. */
#define __BYTE_ORDER __LITTLE_ENDIAN
Perhaps this is a bug in ALSA, but since this file existed
in earlier versions of glibc, you should include it if for
no other reason than backwards compatibility, right?
Use /usr/include/endian.h instead. Backward compatibiliy
for a one-line include file like this is not worth the effort.