libs/web: include limits.h to fix compilation on OS X (#531)
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Jan 2013 18:33:21 +0000 (18:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Jan 2013 18:33:21 +0000 (18:33 +0000)
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)))