$OpenBSD: patch-nsplugins_viewer_viewer_cpp,v 1.3 2007/05/25 09:49:54 espie Exp $
--- nsplugins/viewer/viewer.cpp.orig	Thu Jan 19 18:01:49 2006
+++ nsplugins/viewer/viewer.cpp	Mon May 14 19:06:24 2007
@@ -212,6 +212,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)
 {
