summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-03-13 03:24:05 +0000
committerbrian <brian@FreeBSD.org>1998-03-13 03:24:05 +0000
commit302c593c3ab9ed8a2621a2502532c9a0aee28b75 (patch)
tree4db0d962f1ed8a396dcdfdd16b2fc8d17edb6ae0 /usr.sbin/ppp/defs.c
parent11293893068c9e743b9a16fe3d7ce39ba500e823 (diff)
downloadFreeBSD-src-302c593c3ab9ed8a2621a2502532c9a0aee28b75.zip
FreeBSD-src-302c593c3ab9ed8a2621a2502532c9a0aee28b75.tar.gz
Correct #ifdef for __FreeBSD__ < 3
Diffstat (limited to 'usr.sbin/ppp/defs.c')
-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 f974b90..e66c7b5 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.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) {
OpenPOWER on IntegriCloud