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 a40d7587ab518cfa8d5d08e3955cb27f43621a0b..57f59aa56b2f587e87058f7a572f89fbb674f71b 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)))