summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-03-13 03:15:33 +0000
committerbrian <brian@cvs.openbsd.org>1998-03-13 03:15:33 +0000
commita4b335b6e9fa97badb9d1ad110ba8922d1b1dfc9 (patch)
tree3f053ae4490f6c630e948c30b5c93325727fbc17 /usr.sbin
parent2194d08d238ace7a922d4eac65470f7566c823bd (diff)
Correct #ifdef for __FreeBSD__ < 3
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/defs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 435efbb57cc..2215cdebaaf 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -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.7 1998/01/21 02:13:31 brian Exp $
+ * $Id: defs.c,v 1.8 1998/03/13 03:15:32 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) {