$NetBSD: patch-ab,v 1.1.1.1 2006/01/11 18:36:11 wiz Exp $ --- replex.c.orig 2005-03-27 21:54:23.000000000 +0200 +++ replex.c @@ -39,6 +39,10 @@ #include "replex.h" #include "pes.h" +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 +#endif + static int replex_all_set(struct replex *rx); int replex_check_id(struct replex *rx, uint16_t id)