Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec Make things builds with GCC 2.96



details:   https://anonhg.NetBSD.org/src/rev/60fe1f381a1d
branches:  trunk
changeset: 494166:60fe1f381a1d
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 03 03:34:25 2000 +0000

description:
Make things builds with GCC 2.96

diffstat:

 libexec/ftpd/Makefile   |  4 ++--
 libexec/identd/config.c |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 9e4632db21f6 -r 60fe1f381a1d libexec/ftpd/Makefile
--- a/libexec/ftpd/Makefile     Mon Jul 03 03:33:52 2000 +0000
+++ b/libexec/ftpd/Makefile     Mon Jul 03 03:34:25 2000 +0000
@@ -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 -r 9e4632db21f6 -r 60fe1f381a1d libexec/identd/config.c
--- a/libexec/identd/config.c   Mon Jul 03 03:33:52 2000 +0000
+++ b/libexec/identd/config.c   Mon Jul 03 03:34:25 2000 +0000
@@ -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>
 



Home | Main Index | Thread Index | Old Index