$NetBSD$

--- libgnomeprint/gpa/gpa-node.c.orig	2005-06-03 00:26:22.000000000 +0200
+++ libgnomeprint/gpa/gpa-node.c
@@ -34,7 +34,9 @@
 #include "gpa-config.h"
 #include "gpa-node-private.h"
 
+#ifndef errno
 extern int errno;
+#endif
 
 enum {MODIFIED, CHILD_ADDED, CHILD_REMOVED, LAST_SIGNAL};
 static GObjectClass *parent_class;
