--- dosbox/src/dos/drive_local.cpp 2018-05-13 14:52:17.000000000 -0500 +++ dosbox/src/dos/drive_local.cpp 2018-05-27 02:24:20.057150551 -0500 @@ -22,6 +22,7 @@ #include <string.h> #include <time.h> #include <errno.h> +#include <limits.h> #include "dosbox.h" #include "dos_inc.h"