* load.c: [SV 40515] Define RTLD_GLOBAL if not set.
authorDaniel Richard G <skunk@iskunk.org>
Sun, 24 Nov 2013 03:31:36 +0000 (22:31 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 24 Nov 2013 03:39:39 +0000 (22:39 -0500)
Copyright-paperwork-exempt: yes

load.c

diff --git a/load.c b/load.c
index ca73ac4c94d310c4fd4f2e951c72cd2082b4b79a..63f2aafe667ea3a276a69b7def395d1fbfdab8fe 100644 (file)
--- 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;