X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fnetwork%2Fres_query.c;h=c3ad10901ac6fbbe4120c64f888be65e98e49452;hb=b10d0230c1837be34e4ece7d6b11d19f1b578b9f;hp=4ebeb102a053389012a9448af03f0050512d742a;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/network/res_query.c b/src/network/res_query.c index 4ebeb102..c3ad1090 100644 --- a/src/network/res_query.c +++ b/src/network/res_query.c @@ -1,5 +1,7 @@ +#define _GNU_SOURCE #include #include "__dns.h" +#include "libc.h" int res_query(const char *name, int class, int type, unsigned char *dest, int len) { @@ -18,3 +20,5 @@ int res_query(const char *name, int class, int type, unsigned char *dest, int le } return 512; } + +weak_alias(res_query, res_search);