diff options
Diffstat (limited to 'gold/gold.h')
-rw-r--r-- | gold/gold.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h index a0cc62d..780561d 100644 --- a/gold/gold.h +++ b/gold/gold.h @@ -121,6 +121,10 @@ struct hash<T*> extern "C" ssize_t pread(int, void*, size_t, off_t); #endif +#ifndef HAVE_FTRUNCATE +extern "C" int ftruncate(int, off_t); +#endif + namespace gold { |