]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: uapi: Make alsa asound.h header more portable
authorThomas Klausner <wiz@NetBSD.org>
Thu, 3 Mar 2016 15:28:22 +0000 (16:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Mar 2016 09:50:48 +0000 (10:50 +0100)
commit07b0e77a4d00b6af32a5a3fff70064b10eb59191
tree40c3e53348f0470c0fea82bd9e70e5be9c8463ad
parent40f22dc7e67a2267dbe13a36cf7bb484aac49d06
ALSA: uapi: Make alsa asound.h header more portable

This header is used as-is in the alsa-lib userland library,
which is portable to other operating systems.
For this reason, include linux/types.h only on Linux systems.

Add sys/ioctl.h for _IOR/_IOW/etc. (works at least on *BSD and Solaris).

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h