diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 2dc94c115..1994f0fcb 100644 --- a/src/main.c +++ b/src/main.c @@ -416,6 +416,10 @@ static void warnf(struct Configurable *config, const char *fmt, ...) */ static CURLcode main_init(void) { +#ifdef __DJGPP__ + /* stop stat() wasting time */ + _djstat_flags |= _STAT_INODE | _STAT_EXEC_MAGIC | _STAT_DIRSIZE; +#endif return curl_global_init(CURL_GLOBAL_DEFAULT); } |