mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Define EBADFD in terms of EBADF if it doesn't exist.
For portability on FreeBSD, NetBSD and probably others. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6d4736197e
commit
623d3be080
1 changed files with 4 additions and 0 deletions
|
|
@ -53,6 +53,10 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
#ifndef EBADFD
|
||||
#define EBADFD EBADF
|
||||
#endif
|
||||
|
||||
#ifdef SUPPORT_RESMGR
|
||||
#include <resmgr.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue