git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
[nivanova/samba-autobuild/.git]
/
source4
/
lib
/
replace
/
dlfcn.c
diff --git
a/source4/lib/replace/dlfcn.c
b/source4/lib/replace/dlfcn.c
index 22f9f8bf79b6dfb218a898a8aa6d58f380aded9d..55b38bb9eb70e2e43d6f3d3e080f85fec6ee331f 100644
(file)
--- a/
source4/lib/replace/dlfcn.c
+++ b/
source4/lib/replace/dlfcn.c
@@
-26,7
+26,11
@@
#include "replace.h"
#ifndef HAVE_DLOPEN
+#ifdef DLOPEN_TAKES_UNSIGNED_FLAGS
+void *rep_dlopen(const char *name, unsigned int flags)
+#else
void *rep_dlopen(const char *name, int flags)
+#endif
{
return NULL;
}