libs/web: include limits.h to fix compilation on OS X (#531)
[project/luci.git] / libs / web / src / template_lmo.h
index a40d758..57f59aa 100644 (file)
@@ -32,6 +32,7 @@
 #include <fnmatch.h>
 #include <dirent.h>
 #include <ctype.h>
+#include <limits.h>
 
 #if (defined(__GNUC__) && defined(__i386__))
 #define sfh_get16(d) (*((const uint16_t *) (d)))