Correct #ifdef for __FreeBSD__ < 3
This commit is contained in:
parent
585054bfa6
commit
1baf87502e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34539
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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>
|
#include <sys/param.h>
|
||||||
@ -33,6 +33,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
@ -69,7 +70,7 @@ GetLabel()
|
|||||||
void
|
void
|
||||||
randinit()
|
randinit()
|
||||||
{
|
{
|
||||||
#ifdef __FreeBSD__
|
#if __FreeBSD__ >= 3
|
||||||
static int initdone;
|
static int initdone;
|
||||||
|
|
||||||
if (!initdone) {
|
if (!initdone) {
|
||||||
|
Loading…
Reference in New Issue
Block a user