Skip to content
Commit d06ed0c2 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: uapi: Add linux/types.h include back (but carefully)



A few uapi/sound/*.h headers have been corrected for recovering from
the compile errors with the existing user-space code (alsa-lib) by the
recent commits.  OTOH, these introduced another regression, as now
linux/types.h inclusion became mandatory for the uapi header checks.

As a compromise, this patch re-adds linux/types.h inclusions again,
but conditionally not to break other non-standard user-space stuff
again.

Fixes: 2e468867 ("ALSA: emu10k1: Make uapi/emu10k1.h compilable again")
Fixes: d63e63d4 ("ALSA: hdsp: Make uapi/hdsp.h compilable again")
Fixes: 4fa406ca ("ALSA: hdspm: Drop linux/types.h inclusion in uapi header")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20191230212742.28925-1-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7d8d3c37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment