summaryrefslogtreecommitdiff
path: root/ipalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipalloc.h')
-rw-r--r--ipalloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalloc.h b/ipalloc.h
index ad61475..bf9d060 100644
--- a/ipalloc.h
+++ b/ipalloc.h
@@ -3,7 +3,15 @@
#include "ip.h"
+#ifdef TLS
+# define IX_FQDN 1
+#endif
+
+#ifdef IX_FQDN
+struct ip_mx { struct ip_address ip; int pref; char *fqdn; } ;
+#else
struct ip_mx { struct ip_address ip; int pref; } ;
+#endif
#include "gen_alloc.h"