diff --git a/7.2.311 b/7.2.311
new file mode 100644
index 0000000..9e27a73
--- /dev/null
+++ b/7.2.311
@@ -0,0 +1,52 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.311
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.311
+Problem:    Can't compile with FreeMiNT.
+Solution:   Change #ifdef for limits.h. (Alan Hourihane)
+Files:	    src/fileio.c
+
+
+*** ../vim-7.2.310/src/fileio.c	2009-11-18 20:12:15.000000000 +0100
+--- src/fileio.c	2009-12-02 13:30:07.000000000 +0100
+***************
+*** 21,27 ****
+  
+  #include "vim.h"
+  
+! #ifdef __TANDEM
+  # include <limits.h>		/* for SSIZE_MAX */
+  #endif
+  
+--- 21,27 ----
+  
+  #include "vim.h"
+  
+! #if defined(__TANDEM) || defined(__MINT__)
+  # include <limits.h>		/* for SSIZE_MAX */
+  #endif
+  
+*** ../vim-7.2.310/src/version.c	2009-12-02 12:08:57.000000000 +0100
+--- src/version.c	2009-12-02 13:31:46.000000000 +0100
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     311,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+3. Your bookmark takes 15 minutes to scroll from top to bottom.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///