summaryrefslogtreecommitdiff
path: root/x11/py-gnome2-desktop/patches/patch-aa
blob: 4245acb84e30c79fad7e92b08d0bbaaa691eaa8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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
 {