From 4687c5bcb87a86e6591739f1552dd422c6efbb73 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 7 Feb 2019 19:36:10 +0100 Subject: [PATCH] Include (for RTLD_{GLOBAL,NOW}) Building against musl libc otherwise fails here with "global_libpython_loader.cpp:44:47: error: 'RTLD_GLOBAL' was not declared in this scope". --- src/global_libpython_loader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global_libpython_loader.cpp b/src/global_libpython_loader.cpp index c1ebdee..5bf6572 100644 --- a/src/global_libpython_loader.cpp +++ b/src/global_libpython_loader.cpp @@ -25,6 +25,7 @@ namespace GlobalLibPythonLoader { #define _GNU_SOURCE #include +#include #include #include