mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
Correct #ifdef for __FreeBSD__ < 3
This commit is contained in:
parent
585054bfa6
commit
1baf87502e
1 changed files with 3 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: defs.c,v 1.10 1997/12/30 20:02:50 brian Exp $
|
||||
* $Id: defs.c,v 1.11 1998/01/21 02:15:14 brian Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
|
|
@ -33,6 +33,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "defs.h"
|
||||
|
|
@ -69,7 +70,7 @@ GetLabel()
|
|||
void
|
||||
randinit()
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
#if __FreeBSD__ >= 3
|
||||
static int initdone;
|
||||
|
||||
if (!initdone) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue