mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5).
This commit is contained in:
parent
20425850a4
commit
cf179d53ae
1 changed files with 2 additions and 0 deletions
|
|
@ -803,6 +803,7 @@ int ipfsync()
|
|||
}
|
||||
|
||||
|
||||
#ifndef ipf_random
|
||||
u_32_t ipf_random()
|
||||
{
|
||||
static int seeded = 0;
|
||||
|
|
@ -816,3 +817,4 @@ u_32_t ipf_random()
|
|||
}
|
||||
return rand();
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue