summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 22:27:10 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-11 00:11:13 +0200
commit3df3e884ae1237ef0d4d23b0e80f4ffda95ac135 (patch)
tree630cb996d0cf23429633e4900826aac56d9271ad /src/journal
parent0b452006de98294d1690f045f6ea2f7f6630ec3b (diff)
shared: add random-util.[ch]
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-file.c1
-rw-r--r--src/journal/journald-rate-limit.c1
-rw-r--r--src/journal/test-compress.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 6bbcc6d777..a432eb08a6 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -34,6 +34,7 @@
#include "journal-authenticate.h"
#include "lookup3.h"
#include "compress.h"
+#include "random-util.h"
#define DEFAULT_DATA_HASH_TABLE_SIZE (2047ULL*sizeof(HashItem))
#define DEFAULT_FIELD_HASH_TABLE_SIZE (333ULL*sizeof(HashItem))
diff --git a/src/journal/journald-rate-limit.c b/src/journal/journald-rate-limit.c
index 6d779d2966..6f83035a4e 100644
--- a/src/journal/journald-rate-limit.c
+++ b/src/journal/journald-rate-limit.c
@@ -26,6 +26,7 @@
#include "list.h"
#include "util.h"
#include "hashmap.h"
+#include "random-util.h"
#define POOLS_MAX 5
#define BUCKETS_MAX 127
diff --git a/src/journal/test-compress.c b/src/journal/test-compress.c
index ae41c0c4c7..41a566d714 100644
--- a/src/journal/test-compress.c
+++ b/src/journal/test-compress.c
@@ -20,6 +20,7 @@
#include "compress.h"
#include "util.h"
#include "macro.h"
+#include "random-util.h"
#ifdef HAVE_XZ
# define XZ_OK 0