summaryrefslogtreecommitdiff
path: root/libidn/idn-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libidn/idn-stub.c')
-rw-r--r--libidn/idn-stub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libidn/idn-stub.c b/libidn/idn-stub.c
index 13cd4db5c2..3c69bbc3b3 100644
--- a/libidn/idn-stub.c
+++ b/libidn/idn-stub.c
@@ -132,6 +132,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
}
+#ifndef NOT_IN_libc
libc_freeres_fn (unload_libidn)
{
if (h != NULL && h != (void *) 1l)
@@ -140,3 +141,4 @@ libc_freeres_fn (unload_libidn)
h = (void *) 1l;
}
}
+#endif