summaryrefslogtreecommitdiffstats
path: root/source4/lib/replace/dlfcn.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/dlfcn.c')
-rw-r--r--source4/lib/replace/dlfcn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/replace/dlfcn.c b/source4/lib/replace/dlfcn.c
index 79005c0d2b..e25ac9dfe5 100644
--- a/source4/lib/replace/dlfcn.c
+++ b/source4/lib/replace/dlfcn.c
@@ -24,7 +24,6 @@
*/
#include "replace.h"
-#include <stdlib.h>
#ifndef HAVE_DLOPEN
void *dlopen(const char *name, int flags)
@@ -41,7 +40,7 @@ void *dlsym(void *handle, const char *symbol)
#endif
#ifndef HAVE_DLERROR
-const char *dlerror(void)
+char *dlerror(void)
{
return "dynamic loading of objects not supported on this platform";
}