[Bug 271284] prng32 generators unable to be used

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 06 May 2023 18:07:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271284

            Bug ID: 271284
           Summary: prng32 generators unable to be used
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: notbylundzander@gmail.com

I'm not sure what needs to be done to fix this (maybe I'll find out before
somebody else?), but let me know if I need to look into things more before
making a PR.

In file included from test.c:4:
/usr/include/sys/prng.h:11:10: fatal error:
'contrib/pcg-c/include/pcg_variants.h' file not found
#include <contrib/pcg-c/include/pcg_variants.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


The prng functions are in sys/kern/subr_prng.c - and pcg_variants.h are not in
with the includes.

-- 
You are receiving this mail because:
You are the assignee for the bug.