This way, #include "config.h" is consistently the very
first thing the compiler sees when compiling any file.
Some source files currently don't use anything defined in config.h,
but it's easier and less error-prone to include it now to anticipate
possible future changes in those files, config.h or other headers.
12 files changed:
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <math.h>
#include <stdbool.h>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "config.h"
-
#include "ass_types.h"
#include "ass_fontselect.h"
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "config.h"
-
#include "ass_types.h"
#include "ass_fontselect.h"
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include <ft2build.h>
#include FT_OUTLINE_H
#include FT_BBOX_H
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "config.h"
-
#include "ass_types.h"
#include "ass_fontselect.h"
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include "ass_utils.h"
#include "ass_rasterizer.h"
#include <assert.h>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include "ass_utils.h"
#include "ass_rasterizer.h"
#include <assert.h>
#ifndef LIBASS_SHAPER_H
#define LIBASS_SHAPER_H
-#include "config.h"
-
typedef struct ass_shaper ASS_Shaper;
#include <fribidi.h>
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#include "ass_string.h"
static const char lowertab[] = {
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "config.h"
-
#include <stdlib.h>
#ifndef ASS_STRING_H
*
*/
+#include "config.h"
+
#include <stdlib.h>
#include <errno.h>
#include "ass_string.h"
#include <errno.h>
#include <math.h>
-#include "config.h"
-
#ifdef CONFIG_ENCA
#include <enca.h>
#endif