diff options
author | brian <brian@FreeBSD.org> | 1998-03-13 03:24:05 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-03-13 03:24:05 +0000 |
commit | 302c593c3ab9ed8a2621a2502532c9a0aee28b75 (patch) | |
tree | 4db0d962f1ed8a396dcdfdd16b2fc8d17edb6ae0 | |
parent | 11293893068c9e743b9a16fe3d7ce39ba500e823 (diff) | |
download | FreeBSD-src-302c593c3ab9ed8a2621a2502532c9a0aee28b75.zip FreeBSD-src-302c593c3ab9ed8a2621a2502532c9a0aee28b75.tar.gz |
Correct #ifdef for __FreeBSD__ < 3
-rw-r--r-- | usr.sbin/ppp/defs.c | 5 |
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) { |