aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/portmap
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-08-17 06:05:55 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-08-17 06:05:55 +0000
commit9d1135a9e142b08b025a7356bdcb900c78ceb096 (patch)
tree07ae5e68c248a9b2b814c264d7d9ce26f6b48a41 /usr.sbin/portmap
parent67e55fa5682e19bc687715d770bb3bf5941e49d9 (diff)
downloadsrc-9d1135a9e142b08b025a7356bdcb900c78ceb096.tar.gz
src-9d1135a9e142b08b025a7356bdcb900c78ceb096.zip
Ad #include stdlib.h to get the prototype for malloc().
Notes
Notes: svn path=/head/; revision=38379
Diffstat (limited to 'usr.sbin/portmap')
-rw-r--r--usr.sbin/portmap/from_local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c
index b0744445def7..ffc04bb011d0 100644
--- a/usr.sbin/portmap/from_local.c
+++ b/usr.sbin/portmap/from_local.c
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#) from_local.c 1.2 93/11/16 21:50:02";
#endif
static const char rcsid[] =
- "$Id: from_local.c,v 1.5 1997/10/09 07:17:09 charnier Exp $";
+ "$Id: from_local.c,v 1.6 1998/01/21 10:55:39 brian Exp $";
#endif
#ifdef TEST
@@ -54,6 +54,7 @@ static const char rcsid[] =
#include <sys/time.h>
#include <netdb.h>
+#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>