>From ac054d580a774344adf2dcf198b50100a3f2967d Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Wed, 24 Feb 2016 14:15:10 +0100 Subject: [PATCH] Define EBADFD in terms of EBADF if it doesn't exist. For portability on FreeBSD, NetBSD and probably others. --- include/local.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/local.h b/include/local.h index b429f5d..28ed106 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 -- 2.7.1