mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-18 22:05:17 -05: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/types.h>
|
||||||
#include <linux/ioctl.h>
|
#include <linux/ioctl.h>
|
||||||
|
|
||||||
|
#ifndef EBADFD
|
||||||
|
#define EBADFD EBADF
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef SUPPORT_RESMGR
|
#ifdef SUPPORT_RESMGR
|
||||||
#include <resmgr.h>
|
#include <resmgr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue