changeset 26138:74055622161d

Add missing header #includes to fix 'make checkheaders'.
author diego
date Wed, 05 Mar 2008 08:24:09 +0000
parents 02a08fffb1dc
children 4ebf3c3f2bf6
files libass/ass.h libass/ass_bitmap.h libass/ass_cache.h libass/ass_font.h libass/ass_fontconfig.h libass/ass_mp.h libass/ass_types.h libass/ass_utils.h
diffstat 8 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,7 @@
 #ifndef LIBASS_ASS_H
 #define LIBASS_ASS_H
 
+#include <stdio.h>
 #include "ass_types.h"
 
 /// Libass renderer object. Contents are private.
--- a/libass/ass_bitmap.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_bitmap.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,9 @@
 #ifndef LIBASS_BITMAP_H
 #define LIBASS_BITMAP_H
 
+#include <ft2build.h>
+#include FT_GLYPH_H
+
 typedef struct ass_synth_priv_s ass_synth_priv_t;
 
 ass_synth_priv_t* ass_synth_init(void);
--- a/libass/ass_cache.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_cache.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,10 @@
 #ifndef LIBASS_CACHE_H
 #define LIBASS_CACHE_H
 
+#include "ass.h"
+#include "ass_font.h"
+#include "ass_bitmap.h"
+
 void ass_font_cache_init(void);
 ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
 void* ass_font_cache_add(ass_font_t* font);
--- a/libass/ass_font.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_font.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,12 @@
 #ifndef LIBASS_FONT_H
 #define LIBASS_FONT_H
 
+#include <stdint.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include "ass.h"
+#include "ass_types.h"
+
 typedef struct ass_font_desc_s {
 	char* family;
 	unsigned bold;
--- a/libass/ass_fontconfig.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_fontconfig.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,11 @@
 #ifndef LIBASS_FONTCONFIG_H
 #define LIBASS_FONTCONFIG_H
 
+#include <stdint.h>
+#include "ass_types.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
 #ifdef HAVE_FONTCONFIG
 #include <fontconfig/fontconfig.h>
 #endif
--- a/libass/ass_mp.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_mp.h	Wed Mar 05 08:24:09 2008 +0000
@@ -22,6 +22,8 @@
 #define LIBASS_MP_H
 
 #include "subreader.h"
+#include "ass_types.h"
+#include "ass.h"
 
 extern ass_library_t* ass_library;
 extern int ass_enabled;
--- a/libass/ass_types.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_types.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,8 @@
 #ifndef LIBASS_TYPES_H
 #define LIBASS_TYPES_H
 
+#include <stdint.h>
+
 #define VALIGN_SUB 0
 #define VALIGN_CENTER 8
 #define VALIGN_TOP 4
--- a/libass/ass_utils.h	Wed Mar 05 07:59:37 2008 +0000
+++ b/libass/ass_utils.h	Wed Mar 05 08:24:09 2008 +0000
@@ -21,6 +21,8 @@
 #ifndef LIBASS_UTILS_H
 #define LIBASS_UTILS_H
 
+#include <stdint.h>
+
 int mystrtoi(char** p, int base, int* res);
 int mystrtou32(char** p, int base, uint32_t* res);
 int mystrtod(char** p, double* res);