aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 09:21:53 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-15 09:21:53 +0000
commit727a1272bcd105ff2ea35977b8e96c3cc615a6d1 (patch)
tree1ef97957521d6452309715ae11ed0c1e541f24a1 /configure
parent64944f9385cfd08d8ae0d3f238881a5224d181ef (diff)
Fix dlopen(), dlclose() dlsym() calls in configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27287 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 11c0f03667..59018ba294 100755
--- a/configure
+++ b/configure
@@ -3016,8 +3016,9 @@ fi
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