diff options
author | jb <jb@FreeBSD.org> | 1998-08-17 06:05:55 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-08-17 06:05:55 +0000 |
commit | e68854cf159f0fd45b963bda29fbece9e8ed116c (patch) | |
tree | 9cae8c4a58a642b1494c8404d1c0f2e76fa8d3fe /usr.sbin | |
parent | f4add9d96cfd6eae5158a32358e4f4ba5a700e8e (diff) | |
download | FreeBSD-src-e68854cf159f0fd45b963bda29fbece9e8ed116c.zip FreeBSD-src-e68854cf159f0fd45b963bda29fbece9e8ed116c.tar.gz |
Ad #include stdlib.h to get the prototype for malloc().
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/portmap/from_local.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/portmap/from_local.c b/usr.sbin/portmap/from_local.c index b074444..ffc04bb 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> |