summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-24 07:15:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:49 -0500
commita32b648ea133712cc496c0cb721967642634a4da (patch)
tree3b51d8f4c831f5ba8d7e712694ed963fb992faec
parent45afb4fdb03a6c9fb22582f67b427a0431a08194 (diff)
downloadsamba-a32b648ea133712cc496c0cb721967642634a4da.tar.gz
samba-a32b648ea133712cc496c0cb721967642634a4da.tar.bz2
samba-a32b648ea133712cc496c0cb721967642634a4da.zip
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Fixing build of ldb for instance on some systems without dlfcn.h. (This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
-rw-r--r--source4/lib/replace/replace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index b96356ac46..3cb3c95b69 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -321,6 +321,12 @@ char *rep_strptime(const char *buf, const char *format, struct tm *tm);
#ifndef RTLD_LAZY
#define RTLD_LAZY 0
#endif
+#ifndef RTLD_NOW
+#define RTLD_NOW 0
+#endif
+#ifndef RTLD_GLOBAL
+#define RTLD_GLOBAL 0
+#endif
#ifndef HAVE_SECURE_MKSTEMP
#define mkstemp(path) rep_mkstemp(path)