mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 01:38:07 -04:00
19 lines
351 B
Plaintext
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
|
|
{
|