summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Richard G <skunk@iskunk.org>2013-11-23 22:31:36 -0500
committerPaul Smith <psmith@gnu.org>2013-11-23 22:39:39 -0500
commit7b485daffb3808403ef81e71ce33014e0af785a0 (patch)
tree4ef08d335d258c81caf0c60f5e915f06654458d4
parent757849cd93a9bc361a5113e3aaafe516773aad44 (diff)
downloadgunmake-7b485daffb3808403ef81e71ce33014e0af785a0.tar.gz
* load.c: [SV 40515] Define RTLD_GLOBAL if not set.
Copyright-paperwork-exempt: yes
-rw-r--r--load.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/load.c b/load.c
index ca73ac4..63f2aaf 100644
--- a/load.c
+++ b/load.c
@@ -30,6 +30,11 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
#include "filedef.h"
#include "variable.h"
+/* Tru64 V4.0 does not have this flag */
+#ifndef RTLD_GLOBAL
+# define RTLD_GLOBAL 0
+#endif
+
struct load_list
{
struct load_list *next;