summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgregor <dgregor@openbsd.org>1997-06-24 02:26:18 +0000
committerdgregor <dgregor@openbsd.org>1997-06-24 02:26:18 +0000
commitf5fa3fc51fabf50e9338c3b521f5419047ce5967 (patch)
tree18d1692e7b4d2294ba5ebce18d061a2904bd01a8
parentComment reordering. (diff)
downloadwireguard-openbsd-f5fa3fc51fabf50e9338c3b521f5419047ce5967.tar.xz
wireguard-openbsd-f5fa3fc51fabf50e9338c3b521f5419047ce5967.zip
Add '#include <stdlib.h>' for malloc()
-rw-r--r--usr.bin/netstat/inet.c5
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>