From: Thomas Klausner Date: Wed, 24 Feb 2016 13:15:10 +0000 (+0100) Subject: Define EBADFD in terms of EBADF if it doesn't exist. X-Git-Tag: v1.1.1~15 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=623d3be080736272e85be5ad8adb2ba3da5536ed;p=alsa-lib.git Define EBADFD in terms of EBADF if it doesn't exist. For portability on FreeBSD, NetBSD and probably others. Signed-off-by: Takashi Iwai --- diff --git a/include/local.h b/include/local.h index b429f5d0..28ed106d 100644 --- a/include/local.h +++ b/include/local.h @@ -53,6 +53,10 @@ #include #include +#ifndef EBADFD +#define EBADFD EBADF +#endif + #ifdef SUPPORT_RESMGR #include #endif