summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorDaniel Richard G <skunk@iskunk.org>2013-11-23 22:39:39 -0500
committerPaul Smith <psmith@gnu.org>2013-11-23 22:39:39 -0500
commit95aa4c228b6c95770c4758c62636865963aac581 (patch)
tree4ef08d335d258c81caf0c60f5e915f06654458d4 /load.c
parent175653a9c22fd3bc8a354401db43a5e93099f079 (diff)
downloadmake-95aa4c228b6c95770c4758c62636865963aac581.tar.gz
* load.c: [SV 40515] Define RTLD_GLOBAL if not set.
Copyright-paperwork-exempt: yes
Diffstat (limited to 'load.c')
-rw-r--r--load.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/load.c b/load.c
index ca73ac4c..63f2aafe 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;