diff options
-rw-r--r-- | jni/iodine/src/android_dns.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jni/iodine/src/android_dns.h b/jni/iodine/src/android_dns.h index dafd8ec..1571743 100644 --- a/jni/iodine/src/android_dns.h +++ b/jni/iodine/src/android_dns.h @@ -1,6 +1,8 @@ #ifndef __FIX_ANDROID_H__ #define __FIX_ANDROID_H__ +#include <arpa/nameser.h> +#ifndef _ARPA_NAMESER_COMPAT_ typedef struct { unsigned id :16; @@ -36,4 +38,5 @@ typedef struct { #define T_TXT 16 #define T_SRV 33 -#endif +#endif //_ARPA_NAMESER_COMPAT_ +#endif //__FIX_ANDROID_H__ |