aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tdbio.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r--g10/tdbio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c
index 0c8f84246..8be44a790 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -39,6 +39,9 @@
#include "trustdb.h"
#include "tdbio.h"
+#ifdef HAVE_DOSISH_SYSTEM
+#define ftruncate chsize
+#endif
/****************
* Yes, this is a very simple implementation. We should really