mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Documentation: support glibc versions without htole macros
glibc 2.9 introduced the htole<16/32/64> macros, add them to tools/include to support older versions of glibc. Reported-by: Andrew Morton <[email protected]> Signed-off-by: Peter Foley <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
19f94f9700
commit
8c2b0dc83d
5 changed files with 36 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ mpssd-objs := mpssd.o sysfs.o
|
|||
# Tell kbuild to always build the programs
|
||||
always := $(hostprogs-y)
|
||||
|
||||
HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include
|
||||
HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include -I$(srctree)/tools/include
|
||||
|
||||
ifdef DEBUG
|
||||
HOSTCFLAGS += -DDEBUG=$(DEBUG)
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@
|
|||
#include "mpssd.h"
|
||||
#include <linux/mic_ioctl.h>
|
||||
#include <linux/mic_common.h>
|
||||
#include <tools/endian.h>
|
||||
|
||||
static void init_mic(struct mic_info *mic);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue