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:
Thomas Klausner 2016-02-24 14:15:10 +01:00 committed by Takashi Iwai
parent 6d4736197e
commit 623d3be080

View file

@ -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