diff options
author | brian <brian@FreeBSD.org> | 2000-08-29 16:47:45 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-08-29 16:47:45 +0000 |
commit | ff7c6372510230f13462a388f40f2cb0865b1560 (patch) | |
tree | 72b42c761af41d18897327661d034d9c2da95f48 /usr.sbin/ppp/defs.c | |
parent | ca84dc3f91bcf6229a245a1458aa1f45a0eccaa9 (diff) | |
download | FreeBSD-src-ff7c6372510230f13462a388f40f2cb0865b1560.zip FreeBSD-src-ff7c6372510230f13462a388f40f2cb0865b1560.tar.gz |
Use srandom() under OpenBSD
Submitted by: Matt Behrens <matt@megaweapon.zigg.com>
Diffstat (limited to 'usr.sbin/ppp/defs.c')
-rw-r--r-- | usr.sbin/ppp/defs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 7101dd8..a77823c 100644 --- a/usr.sbin/ppp/defs.c +++ b/usr.sbin/ppp/defs.c @@ -56,7 +56,7 @@ void randinit() { -#if __FreeBSD__ >= 3 +#if defined(__OpenBSD__) || __FreeBSD__ >= 3 static int initdone; /* srandomdev() call is only required once */ if (!initdone) { |