Make things builds with GCC 2.96

This commit is contained in:
matt 2000-07-03 03:34:25 +00:00
parent 23bca583f4
commit 9bf906d2e1
2 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.42 2000/06/20 06:00:34 thorpej Exp $
# $NetBSD: Makefile,v 1.43 2000/07/03 03:34:25 matt Exp $
# @(#)Makefile 8.2 (Berkeley) 4/4/94
PROG= ftpd
SRCS= cmds.c conf.c ftpd.c ftpcmd.y logutmp.c logwtmp.c popen.c
CPPFLAGS+=-DHASSETPROCTITLE
CPPFLAGS+=-DHASSETPROCTITLE -I${.CURDIR}
# CPPFLAGS+=-DDEBUG # XXX for lukem testing
DPADD+= ${LIBCRYPT} ${LIBUTIL}
LDADD+= -lcrypt -lutil

View File

@ -1,4 +1,4 @@
/* $NetBSD: config.c,v 1.5 1998/07/15 07:31:56 msaitoh Exp $ */
/* $NetBSD: config.c,v 1.6 2000/07/03 03:34:26 matt Exp $ */
/*
** config.c This file handles the config file
@ -17,6 +17,7 @@
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>