RTLD_DEFAULT may be guarded by __USE_GNU which then would lead to build
failures.
---
 src/autofit/ft-hb.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/autofit/ft-hb.c b/src/autofit/ft-hb.c
index 105d149..14d4276 100644
--- a/src/autofit/ft-hb.c
+++ b/src/autofit/ft-hb.c
@@ -15,6 +15,10 @@
  *
  */

+
+#if !defined(_WIN32) && !defined(_GNU_SOURCE)
+#  define _GNU_SOURCE 1 /* for RTLD_DEFAULT */
+#endif

 #include <freetype/freetype.h>
 #include <freetype/internal/ftmemory.h>

--
O.S.

Attachment: 0001-src-autofit-ft-hb.c-define-_GNU_SOURCE-for-RTLD_DEFA.patch
Description: Binary data

Reply via email to