Fix C++ compilation.

* src/autofit/afloader.c: Include FT_INTERNAL_CALC_H.

* src/truetype/ttgload.c (load_truetype_glyph): Pacify compiler.
This commit is contained in:
Werner Lemberg 2015-11-28 19:05:36 +01:00
parent 25b1330a4d
commit 4679bf83a6
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2015-11-28 Werner Lemberg <wl@gnu.org>
Fix C++ compilation.
* src/autofit/afloader.c: Include FT_INTERNAL_CALC_H.
* src/truetype/ttgload.c (load_truetype_glyph): Pacify compiler.
2015-11-28 Nikolaus Waxweiler <madigens@gmail.com>
Change default LCD filter to be normalized and color-balanced.

View File

@ -23,6 +23,8 @@
#include "afmodule.h"
#include "afpic.h"
#include FT_INTERNAL_CALC_H
/* Initialize glyph loader. */

View File

@ -1659,7 +1659,7 @@
}
else
{
FT_ListNode node;
FT_ListNode node = NULL;
if ( FT_NEW( node ) )