mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Define some types if missing
Include Linux headers on Linux only. For portability with non-Linux. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
623d3be080
commit
25e6b5b473
3 changed files with 70 additions and 4 deletions
|
|
@ -50,11 +50,11 @@
|
|||
#include <sys/poll.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#if defined(__linux__)
|
||||
#include <linux/types.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#ifndef EBADFD
|
||||
#define EBADFD EBADF
|
||||
#else
|
||||
#include "type_compat.h"
|
||||
#endif
|
||||
|
||||
#ifdef SUPPORT_RESMGR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue