]> granicus.if.org Git - libass/commitdiff
Fix limits.h includes
authorGrigori Goronzy <greg@chown.ath.cx>
Sun, 16 Feb 2014 23:13:37 +0000 (00:13 +0100)
committerGrigori Goronzy <greg@chown.ath.cx>
Sun, 16 Feb 2014 23:15:39 +0000 (00:15 +0100)
These were missing in several places. Fixes #50.

libass/ass_drawing.c
libass/ass_font.c
libass/ass_shaper.c
libass/ass_utils.c

index 32a380333a1a191f9d48b0631a616712ce7c4303..ec371dfa20b73a5d5efdd516aa5ef93120f8ca11 100644 (file)
@@ -20,6 +20,7 @@
 #include FT_OUTLINE_H
 #include FT_BBOX_H
 #include <math.h>
+#include <limits.h>
 
 #include "ass_utils.h"
 #include "ass_drawing.h"
index c9761a88c6c4c618ff32108088fc61b653d577a2..6e2f400851753b39d4182a7fde1a9db52bd86458 100644 (file)
@@ -26,6 +26,7 @@
 #include FT_TRUETYPE_TABLES_H
 #include FT_OUTLINE_H
 #include <strings.h>
+#include <limits.h>
 
 #include "ass.h"
 #include "ass_library.h"
index 8f12291949c80430ccd3c4f9c3e434c028dc04fe..b69c93a4e3631d98b725bcf61e5f47331ac2aa44 100644 (file)
@@ -23,6 +23,7 @@
 #include "ass_font.h"
 #include "ass_parse.h"
 #include "ass_cache.h"
+#include <limits.h>
 
 #ifdef CONFIG_HARFBUZZ
 #include <hb-ft.h>
index e119c02109e04cf4837a7b84e79d16ca6b8addf3..a3df9819055535ba97980fdada2c5175596d74e4 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdint.h>
 #include <inttypes.h>
 #include <strings.h>
+#include <limits.h>
 
 #include "ass_library.h"
 #include "ass.h"