diff options
| author | Marcus Boerger <helly@php.net> | 2002-11-12 21:03:10 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-11-12 21:03:10 +0000 |
| commit | b855dcc876ffbfa05166764f5f34f2609dae2f11 (patch) | |
| tree | f2ccfa78718008eba3d56df9da2c8f5779debd92 /ext/dbase/dbf_rec.c | |
| parent | cecb9dfc7983b24cc99bb399ffc5a6f0eb9fafa9 (diff) | |
| download | php-git-b855dcc876ffbfa05166764f5f34f2609dae2f11.tar.gz | |
ftruncate is defined in flock_compat.h on windows
Diffstat (limited to 'ext/dbase/dbf_rec.c')
| -rw-r--r-- | ext/dbase/dbf_rec.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 <stdio.h> #include <fcntl.h> #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); |
