changeset 27255:aff85d51de87

Fix dlopen(), dlclose() dlsym() calls in configure test.
author diego
date Tue, 15 Jul 2008 09:21:53 +0000
parents 6fa76e47a88e
children d2f920cb9847
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jul 15 09:17:07 2008 +0000
+++ b/configure	Tue Jul 15 09:21:53 2008 +0000
@@ -3016,8 +3016,9 @@
 
 echocheck "dynamic loader"
 cat > $TMPC << EOF
+#include <stddef.h>
 #include <dlfcn.h>
-int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
+int main(void) { dlopen(NULL, 0); dlclose(NULL); dlsym(NULL, NULL); return 0; }
 EOF
 _dl=no
 for _ld_tmp in "" "-ldl" ; do