mariadb: Update from 10.2.9 to 10.2.10
[termux-packages] / packages / minicom / getdir.h.patch
index f1d65b9..c3fb2b2 100644 (file)
@@ -1,11 +1,12 @@
 --- ../minicom-2.7/src/getsdir.h       2009-12-13 02:47:47.000000000 +1100
 +++ ./src/getsdir.h    2016-04-19 15:59:00.459999674 +1000
-@@ -23,12 +23,12 @@
+@@ -23,12 +23,13 @@
   */
  
  #include <dirent.h>
 -
 +#include <sys/types.h>
++#include <limits.h>
  typedef struct dirEntry {             /* structure of data item */
 -  char fname[MAXNAMLEN + 1];          /* filename + terminating null */
 +  char fname[NAME_MAX + 1];           /* filename + terminating null */