missing files needed for module-writing
Helf-year ago, I wrote module for knot-resolver v1.0.0 (I had to make it for opensuse_42.2). Recently I upgraded the system to opensuse_leap_15 and downloaded the stable versions of knot and kres.
There were some minor changes ONLY in structure naming (thank god for that). But I ran into missing files needed for my plugin. Specifically speaking about lib.h in ucw directory and compiler.h + compiler folder in ccan directory.
I have installed knot and kres from dns repository (http://download.opensuse.org/repositories/server:/dns/openSUSE_Leap_15.0/) and didn't find those files in packages knot-resolver, knot-resolver-devel nor knot-resolver-debugsource. So I manually created them and copy-pasted your code from github.
Everything is working alright and I'm asking, if you could add these files into some of those repository packages, so the installation wouldn't take no more manual steps.