From b855dcc876ffbfa05166764f5f34f2609dae2f11 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 12 Nov 2002 21:03:10 +0000 Subject: [PATCH] ftruncate is defined in flock_compat.h on windows --- ext/dbase/dbf_rec.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ext/dbase/dbf_rec.c b/ext/dbase/dbf_rec.c index 11ee63b107..2050bc834a 100644 --- a/ext/dbase/dbf_rec.c +++ b/ext/dbase/dbf_rec.c @@ -4,11 +4,19 @@ * All Rights Reserved */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "php.h" + +#include "ext/standard/flock_compat.h" + #include #include #include "dbf.h" - + int get_piece(dbhead_t *dbh, long offset, char *cp, int len); int put_piece(dbhead_t *dbh, long offset, char *cp, int len); -- 2.50.1