summaryrefslogtreecommitdiff
path: root/src/rexmpp_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rexmpp_tcp.h')
-rw-r--r--src/rexmpp_tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rexmpp_tcp.h b/src/rexmpp_tcp.h
index 1440fa1..8ee32a0 100644
--- a/src/rexmpp_tcp.h
+++ b/src/rexmpp_tcp.h
@@ -20,6 +20,7 @@
#define REXMPP_TCP_H
#include <sys/time.h>
+#include <stdbool.h>
#include "rexmpp.h"
#include "rexmpp_dns.h"
@@ -104,7 +105,7 @@ struct rexmpp_tcp_connection {
int fd;
/** @brief Whether the A or AAAA records used to establish the final
connection were verified with DNSSEC. */
- int dns_secure;
+ bool dns_secure;
};
/**