pkgsrc/x11/py-gnome2-desktop/patches/patch-aa
2007-02-15 14:31:21 +00:00

19 lines
350 B
Text

$NetBSD: patch-aa,v 1.1 2007/02/15 14:31:21 joerg Exp $
--- gtop/gtop.c.orig 2007-02-12 20:39:35.000000000 +0000
+++ gtop/gtop.c
@@ -47,6 +47,14 @@
#include <sys/socket.h>
#include <arpa/inet.h>
+#ifndef INET_ADDRSTRLEN
+#define INET_ADDRSTRLEN 16
+#endif
+
+#ifndef INET6_ADDRSTRLEN
+#define INET6_ADDRSTRLEN 46
+#endif
+
typedef struct
{