$NetBSD: patch-af,v 1.1.1.1 2004/06/29 18:00:17 shannonjr Exp $

--- gcc/ada/cstreams.c.orig	2003-11-18 03:00:42.000000000 -0700
+++ gcc/ada/cstreams.c
@@ -175,7 +175,7 @@ __gnat_full_name (char *nam, char *buffe
 #elif defined (MSDOS)
   _fixpath (nam, buffer);
 
-#elif defined (sgi) || defined (__FreeBSD__)
+#elif defined (sgi) || defined (__FreeBSD__) || defined(__NetBSD__)
 
   /* Use realpath function which resolves links and references to . and ..
      on those Unix systems that support it. Note that GNU/Linux provides it but
