summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-01-13 18:33:21 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-01-13 18:33:21 +0000
commit237aa91089837dcbe5d46ecdb5c5d94f9af6da05 (patch)
tree3f1e3b1c697c34d16e727f20c5b0f245c32dae37 /libs
parenta4a3a989fe1dce591c8c00332753165730810a34 (diff)
libs/web: include limits.h to fix compilation on OS X (#531)
Diffstat (limited to 'libs')
-rw-r--r--libs/web/src/template_lmo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/src/template_lmo.h b/libs/web/src/template_lmo.h
index a40d7587a..57f59aa56 100644
--- a/libs/web/src/template_lmo.h
+++ b/libs/web/src/template_lmo.h
@@ -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)))