$OpenBSD: patch-nsplugins_viewer_viewer_cpp,v 1.4 2008/03/25 17:34:14 espie Exp $
--- nsplugins/viewer/viewer.cpp.orig	Wed Feb 13 10:40:38 2008
+++ nsplugins/viewer/viewer.cpp	Fri Feb 15 00:05:14 2008
@@ -213,6 +213,9 @@ bool qt_set_socket_handler( int sockfd, int type, QObj
 }
 #endif
 
+#if defined(__OpenBSD__) && !defined(RLIMIT_AS)
+#define RLIMIT_AS	RLIMIT_DATA
+#endif
 
 int main(int argc, char** argv)
 {
