aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-17 14:19:38 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-10-17 14:19:38 +0300
commit96e14f0474571c1c27164ff79a16413de9b3027a (patch)
tree150f67f2f8d97521e3a3e535718a53629e48002f /src/dns.h
parentb441439d550de340e892903b1309fb35bfba6312 (diff)
downloadrspamd-96e14f0474571c1c27164ff79a16413de9b3027a.tar.gz
rspamd-96e14f0474571c1c27164ff79a16413de9b3027a.zip
Fix build under Solaris10. Reported in https://bitbucket.org/vstakhov/rspamd/issue/21/rspamd-solaris10-x86-openindiana
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.h b/src/dns.h
index ba2a60c6e..526598e6a 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -146,7 +146,7 @@ struct rspamd_dns_reply {
struct dns_header {
guint qid:16;
-#if __BYTE_ORDER == BIG_ENDIAN
+#if BYTE_ORDER == BIG_ENDIAN
guint qr:1;
guint opcode:4;
guint aa:1;