Remove #include <malloc.h>

PR:		36707
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-04-03 21:52:38 +00:00
parent 2684781e36
commit 6b63e747b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57285

View File

@ -42,6 +42,8 @@ MAN5= rsyncd.conf.5
pre-configure:
@${PERL} -pi.orig -e 's:/etc/:${PREFIX}/etc/:g' \
${WRKSRC}/rsync.h ${WRKSRC}/rsync.1 ${WRKSRC}/rsyncd.conf.5
@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|g' \
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
.if defined(WITH_SSH)
@${PERL} -pi.orig-rsh -e 's/"rsh"/"ssh"/g' ${WRKSRC}/rsync.h
.endif