2013-09-26 17:14:40 +02:00

19 lines
351 B
Plaintext

$NetBSD: patch-aa,v 1.2 2009/03/15 16:15:58 jmcneill Exp $
--- gtop/gtop.c.orig 2009-03-14 15:10:43.000000000 -0400
+++ gtop/gtop.c
@@ -48,6 +48,13 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
+#ifndef INET6_ADDRSTRLEN
+#define INET6_ADDRSTRLEN 46
+#endif
typedef struct
{