1diff --git a/frm/frm.h b/frm/frm.h 2index 178b87d54..7931faada 100644 3--- a/frm/frm.h 4+++ b/frm/frm.h 5@@ -34,6 +34,9 @@ 6 #ifdef HAVE_ICONV_H 7 # include <iconv.h> 8 #endif 9+#ifdef HAVE_LIMITS_H 10+# include <limits.h> 11+#endif 12 #ifndef MB_LEN_MAX 13 # define MB_LEN_MAX 4 14 #endif