From: Marcus Boerger Date: Tue, 12 Nov 2002 21:03:10 +0000 (+0000) Subject: ftruncate is defined in flock_compat.h on windows X-Git-Tag: php-4.3.0RC1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b855dcc876ffbfa05166764f5f34f2609dae2f11;p=php ftruncate is defined in flock_compat.h on windows --- 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);