diff --git a/.gitignore b/.gitignore
index cb8169ae68461c16719fe9ca457addb46c8d1076..5fe9921c4637331295d45391ad502f22d3113693 100644
--- a/.gitignore
+++ b/.gitignore
@@ -88,6 +88,7 @@
 /tests/events
 /tests/fdset
 /tests/hattrie
+/tests/hhash
 /tests/journal
 /tests/rrl
 /tests/rrset
diff --git a/Knot.files b/Knot.files
index 18afbe74b52fa138243f686f6a167128ca4650df..f56a2710259a574ea09aa73a013d2353e0ac4b9b 100644
--- a/Knot.files
+++ b/Knot.files
@@ -46,8 +46,6 @@ src/common/fdset.c
 src/common/fdset.h
 src/common/getline.c
 src/common/getline.h
-src/common/hhash.c
-src/common/hhash.h
 src/common/hattrie/hat-trie.c
 src/common/hattrie/hat-trie.h
 src/common/hattrie/murmurhash3.c
@@ -56,6 +54,8 @@ src/common/heap.c
 src/common/heap.h
 src/common/hex.c
 src/common/hex.h
+src/common/hhash.c
+src/common/hhash.h
 src/common/latency.c
 src/common/latency.h
 src/common/lists.c
@@ -270,8 +270,8 @@ tests/dnssec_zone_nsec.c
 tests/dthreads.c
 tests/events.c
 tests/fdset.c
-tests/hhash.c
 tests/hattrie.c
+tests/hhash.c
 tests/journal.c
 tests/rrl.c
 tests/rrset.c