Joel Stanley
1696784eb7
tools/gpio: Fix build error with musl libc
...
The GPIO tools build fails when using a buildroot toolchain that uses musl
as it's C library:
arm-broomstick-linux-musleabi-gcc -Wp,-MD,./.gpio-event-mon.o.d \
-Wp,-MT,gpio-event-mon.o -O2 -Wall -g -D_GNU_SOURCE \
-Iinclude -D"BUILD_STR(s)=#s" -c -o gpio-event-mon.o gpio-event-mon.c
gpio-event-mon.c:30:6: error: unknown type name ‘u_int32_t’; did you mean ‘uint32_t’?
u_int32_t handleflags,
^~~~~~~~~
uint32_t
The glibc headers installed on my laptop include sys/types.h in
unistd.h, but it appears that musl does not.
Fixes: 97f69747d8 ("tools/gpio: add the gpio-event-mon tool")
Cc: stable@vger.kernel.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-12-21 13:51:01 +01:00
..
accounting
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
arch
Merge branch 'linus' into locking/core, to resolve conflicts
2017-11-07 10:32:44 +01:00
bpf
bpftool: revert printing program device bound info
2017-11-21 00:37:35 +01:00
build
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
cgroup
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
firewire
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
gpio
tools/gpio: Fix build error with musl libc
2017-12-21 13:51:01 +01:00
hv
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
iio
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
include
bpftool: revert printing program device bound info
2017-11-21 00:37:35 +01:00
kvm /kvm_stat
First batch of KVM changes for 4.15
2017-11-16 13:00:24 -08:00
laptop
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
leds
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
lib
tools/lib/traceevent/parse-filter.c: clean up clang build warning
2017-11-17 16:10:02 -08:00
nfsd
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
objtool
tools/headers: Sync objtool UAPI header
2017-11-14 07:26:17 +01:00
pci
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pcmcia
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
perf
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
2017-11-17 14:23:52 -08:00
power
kbuild: /bin/pwd -> pwd
2017-11-18 11:32:27 +09:00
scripts
kbuild: /bin/pwd -> pwd
2017-11-18 11:32:27 +09:00
spi
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
testing
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-11-26 14:11:54 -08:00
thermal /tmon
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
2017-11-17 14:31:27 -08:00
time
usb
USB/PHY patches for 4.15-rc1
2017-11-13 21:14:07 -08:00
virtio
locking/x86: Use LOCK ADD for smp_mb() instead of MFENCE
2017-11-10 13:43:44 +01:00
vm
tools: slabinfo: add "-U" option to show unreclaimable slabs only
2017-11-15 18:21:01 -08:00
wmi
tools/wmi: add a sample for dell smbios communication over WMI
2017-11-03 16:34:00 -07:00
Makefile
platform-drivers-x86 for v4.15-1
2017-11-18 10:26:57 -08:00