summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2000-07-03 03:34:25 +0000
committermatt <matt@NetBSD.org>2000-07-03 03:34:25 +0000
commit9bf906d2e10c8d42ded1c16bd36116bb77a08c12 (patch)
tree80be735bea4fc02098f4ad90396a21c9b3683f76 /libexec
parent23bca583f4861820c74cc017c4b910c7ad0c1ad6 (diff)
Make things builds with GCC 2.96
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/Makefile4
-rw-r--r--libexec/identd/config.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 99125517dff..52ef3a8d0e0 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -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
diff --git a/libexec/identd/config.c b/libexec/identd/config.c
index c779dc6194c..cbc9f9410b3 100644
--- a/libexec/identd/config.c
+++ b/libexec/identd/config.c
@@ -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>