about summary refs log tree commit diff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-11-07 11:55:53 -0500
committerRich Felker <dalias@aerifal.cx>2016-11-07 11:55:53 -0500
commitc8fdcfe550997243daba0814a95f42890dc60e45 (patch)
treea6a9e3f7aa4df401b096fca970140c9cfba42289 /include/resolv.h
parent8ca27ac4bfe73bff785d0c26c1de0da92b55e5c6 (diff)
downloadmusl-c8fdcfe550997243daba0814a95f42890dc60e45.tar.gz
musl-c8fdcfe550997243daba0814a95f42890dc60e45.tar.xz
musl-c8fdcfe550997243daba0814a95f42890dc60e45.zip
don't claim support for resolv.h APIs that aren't supported
the value 19991006 for __RES implies availability of res_ninit and
related functions that take a resolver state argument; these are not
supported since our resolver is stateless. instead claim support for
just the older API by defining __RES to 19960801.

based on patch by Dmitrij D. Czarkoff.
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h
index e12cb3c7..8b23ad66 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -61,7 +61,7 @@ typedef struct __res_state {
 	} _u;
 } *res_state;
 
-#define	__RES	19991006
+#define	__RES	19960801
 
 #ifndef _PATH_RESCONF
 #define _PATH_RESCONF        "/etc/resolv.conf"