From eddd6735d9f8bcee05fb2ca12ec3a9d56746c67d Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 3 May 2021 12:59:04 +0100 Subject: [PATCH] Define RTLD_DEFAULT for very old BSDs. --- setter/src/unix/bsd/xattr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setter/src/unix/bsd/xattr.h b/setter/src/unix/bsd/xattr.h index d37b75c..379f21d 100644 --- a/setter/src/unix/bsd/xattr.h +++ b/setter/src/unix/bsd/xattr.h @@ -228,4 +228,8 @@ static unsigned char IconEA[3516] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; +#ifndef RTLD_DEFAULT +#define RTLD_DEFAULT 0 +#endif + #endif // SETTER_SRC_BSD_XATTR_H_