projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e37963
)
T_SRV portability check
author
Yang Tse
<yangsita@gmail.com>
Sun, 6 Sep 2009 23:46:07 +0000
(23:46 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Sun, 6 Sep 2009 23:46:07 +0000
(23:46 +0000)
ares/ares_parse_srv_reply.c
patch
|
blob
|
history
diff --git
a/ares/ares_parse_srv_reply.c
b/ares/ares_parse_srv_reply.c
index
82fd8af
..
c26d59f
100644
(file)
--- a/
ares/ares_parse_srv_reply.c
+++ b/
ares/ares_parse_srv_reply.c
@@
-47,6
+47,11
@@
#include "ares_dns.h"
#include "ares_private.h"
+/* AIX portability check */
+#ifndef T_SRV
+# define T_SRV 33 /* server selection */
+#endif
+
int
ares_parse_srv_reply (const unsigned char *abuf, int alen,
struct srv_reply **srv_out, int *nsrvreply)