summaryrefslogtreecommitdiff
path: root/src/include/s6-dns/s6dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/s6-dns/s6dns.h')
-rw-r--r--src/include/s6-dns/s6dns.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/s6-dns/s6dns.h b/src/include/s6-dns/s6dns.h
index de8c085..e19ae8d 100644
--- a/src/include/s6-dns/s6dns.h
+++ b/src/include/s6-dns/s6dns.h
@@ -3,6 +3,8 @@
#ifndef S6DNS_H
#define S6DNS_H
+#include <stdint.h>
+
#include <s6-dns/s6dns-constants.h>
#include <s6-dns/s6dns-ip46.h>
#include <s6-dns/s6dns-domain.h>
@@ -13,7 +15,8 @@
#include <s6-dns/s6dns-fmt.h>
#include <s6-dns/hosts.h>
-extern int s6dns_init (void) ;
+#define s6dns_init() s6dns_init_options(0)
+extern int s6dns_init_options (uint32_t) ;
extern void s6dns_finish (void) ;
#endif