Portability fix: look for sys/endian.h as well as endian.h

- define __BYTE_ORDER and friends.
- adjust asoundlib.h accordingly.

Signed-off-by: Patrick Welche <prlw1@cam.ac.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Patrick Welche 2014-02-23 11:12:48 +00:00 committed by Takashi Iwai
parent 1af088e39b
commit 7a6e8ca348
4 changed files with 48 additions and 17 deletions

View file

@ -26,7 +26,6 @@
*
*/
#include <endian.h>
#include <byteswap.h>
#include <ctype.h>
#include <string.h>