From: Petr Vorel <petr.vorel@xxxxxxxxx> This fixes build on systems which actually needs getrandom() (to get SYS_getrandom). Fixes: f92fd6ca ("support/backend_sqlite.c: Add getrandom() fallback") Fixes: http://autobuild.buildroot.net/results/c5fde6099a8b228a8bdc3154d1e47dfa192e94ed/ Reported-by: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Petr Vorel <pvorel@xxxxxxx> --- Changes v1->v2: * New commit I'm sorry for these errors. support/reexport/backend_sqlite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/reexport/backend_sqlite.c b/support/reexport/backend_sqlite.c index 0eb5ea37..54dfe447 100644 --- a/support/reexport/backend_sqlite.c +++ b/support/reexport/backend_sqlite.c @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/syscall.h> #include <unistd.h> #ifdef HAVE_GETRANDOM -- 2.43.0