linux-xiaomi-chiron/include/uapi/sound
Daniel Mentz b5bdbb6ccd ALSA: uapi: #include <time.h> in asound.h
The uapi header asound.h defines types based on struct timespec. We need
to #include <time.h> to get access to the definition of this struct.

Previously, we encountered the following error message when building
applications with a clang/bionic toolchain:

kernel-headers/sound/asound.h:350:19: error: field has incomplete type 'struct timespec'
  struct timespec trigger_tstamp;
                  ^

The absence of the time.h #include statement does not cause build errors
with glibc, because its version of stdlib.h indirectly includes time.h.

Signed-off-by: Daniel Mentz <danielmentz@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-04-02 09:27:21 +02:00
..
asequencer.h
asoc.h
asound.h
asound_fm.h
compress_offload.h
compress_params.h
emu10k1.h
firewire.h
hdsp.h
hdspm.h
sb16_csp.h
sfnt_info.h
skl-tplg-interface.h
snd_sst_tokens.h
tlv.h
usb_stream.h