diff options
Diffstat (limited to 'source3/lib/replace/dlfcn.c')
-rw-r--r-- | source3/lib/replace/dlfcn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/dlfcn.c b/source3/lib/replace/dlfcn.c index 22f9f8bf79..55b38bb9eb 100644 --- a/source3/lib/replace/dlfcn.c +++ b/source3/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; } |