From 3df3e884ae1237ef0d4d23b0e80f4ffda95ac135 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Fri, 10 Apr 2015 22:27:10 +0200 Subject: shared: add random-util.[ch] --- src/resolve/resolved-dns-scope.c | 1 + src/resolve/resolved-dns-transaction.c | 1 + src/resolve/resolved-manager.c | 1 + 3 files changed, 3 insertions(+) (limited to 'src/resolve') diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index ba116de6f5..b2bc09266c 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -27,6 +27,7 @@ #include "af-list.h" #include "resolved-dns-domain.h" #include "resolved-dns-scope.h" +#include "random-util.h" #define MULTICAST_RATELIMIT_INTERVAL_USEC (1*USEC_PER_SEC) #define MULTICAST_RATELIMIT_BURST 1000 diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index bc1a90db1b..214938986d 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -22,6 +22,7 @@ #include "af-list.h" #include "resolved-dns-transaction.h" +#include "random-util.h" DnsTransaction* dns_transaction_free(DnsTransaction *t) { DnsQuery *q; diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index adaa6c6e7f..a10a3277be 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -31,6 +31,7 @@ #include "utf8.h" #include "fileio-label.h" #include "ordered-set.h" +#include "random-util.h" #include "resolved-dns-domain.h" #include "resolved-conf.h" -- cgit v1.2.3-54-g00ecf