$OpenBSD: patch-j2se_src_solaris_native_java_util_TimeZone_md_c,v 1.1 2005/02/04 17:06:45 kurt Exp $
--- j2se/src/solaris/native/java/util/TimeZone_md.c.orig	Thu Feb  3 20:05:26 2005
+++ j2se/src/solaris/native/java/util/TimeZone_md.c	Thu Feb  3 20:06:08 2005
@@ -236,7 +236,7 @@ getPlatformTimeZoneID()
 	return NULL;
     }
 
-#if defined(__linux__)
+#if defined(__linux__) || defined(__OpenBSD__)
     /*
      * If it's a symlink, get the link name and its zone ID part. (The
      * older versions of timeconfig created a symlink as described in
@@ -260,7 +260,7 @@ getPlatformTimeZoneID()
 	}
 	return tz;
     }
-#endif /* __linux__ */
+#endif /* __linux__ || __OpenBSD__ */
 
     /*
      * If it's a regular file, we need to find out the same zoneinfo file
