diff options
author | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 02:26:19 +0000 |
---|---|---|
committer | dgregor <dgregor@cvs.openbsd.org> | 1997-06-24 02:26:19 +0000 |
commit | c0aea6822e2e0437c2737319d2ad6c692b3b1198 (patch) | |
tree | 49162ae301a025ce933d2112ddbb969616ddb0c6 /usr.bin | |
parent | f011d79e0379b9f3287cb73cb690f8a4824cd2c7 (diff) |
Add '#include <stdlib.h>' for malloc()
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/inet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 1e28b1e0d18..d1aa4bccc8f 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.13 1997/06/15 13:47:27 deraadt Exp $ */ +/* $OpenBSD: inet.c,v 1.14 1997/06/24 02:26:18 dgregor Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94"; #else -static char *rcsid = "$OpenBSD: inet.c,v 1.13 1997/06/15 13:47:27 deraadt Exp $"; +static char *rcsid = "$OpenBSD: inet.c,v 1.14 1997/06/24 02:26:18 dgregor Exp $"; #endif #endif /* not lint */ @@ -77,6 +77,7 @@ static char *rcsid = "$OpenBSD: inet.c,v 1.13 1997/06/15 13:47:27 deraadt Exp $" #include <stdio.h> #include <string.h> #include <unistd.h> +#include <stdlib.h> #include "netstat.h" #include <rpc/rpc.h> |