From cf179d53aeb95db786f3fa0110ffba6a35cbbe0f Mon Sep 17 00:00:00 2001 From: Max Laier Date: Mon, 4 Aug 2008 22:45:27 +0000 Subject: [PATCH] Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5). --- contrib/ipfilter/ip_fil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/ipfilter/ip_fil.c b/contrib/ipfilter/ip_fil.c index 0694a750e3f..05186722033 100644 --- a/contrib/ipfilter/ip_fil.c +++ b/contrib/ipfilter/ip_fil.c @@ -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