Skip to content

Commit

Permalink
Define T_OPT if system doesn't provide it
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Sep 14, 2020
1 parent 14933d3 commit 535763a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/nameser.h
Expand Up @@ -208,4 +208,9 @@ typedef enum __ns_rcode {

#endif /* HAVE_ARPA_NAMESER_COMPAT_H */

/* Android's bionic arpa/nameser_compat.h, nor glibc versions prior to 2.25 have T_OPT defined */
#ifndef T_OPT
# define T_OPT ns_t_opt
#endif

#endif /* ARES_NAMESER_H */

0 comments on commit 535763a

Please sign in to comment.