$NetBSD: patch-ab,v 1.2 2007/05/17 10:07:02 mlelstv Exp $

--- replex.c.orig	2007-02-26 08:46:54.000000000 +0100
+++ replex.c
@@ -41,6 +41,10 @@
 #include "replex.h"
 #include "pes.h"
 
+#ifndef O_LARGEFILE
+#define O_LARGEFILE 0
+#endif
+
 static int replex_all_set(struct replex *rx);
 
 void overflow_exit(struct replex *rx)
