7231aa65e5
Build now fails for me with gfxFT2Utils.cpp:(.text+0xff): undefined reference to `FT_Get_Sfnt_Table' gfxFT2Utils.cpp:(.text+0x73d): undefined reference to `FT_Get_Sfnt_Table'
15 lines
413 B
C++
15 lines
413 B
C++
$NetBSD: patch-gfx_ots_src_os2.cc,v 1.1 2014/04/27 07:54:01 wiz Exp $
|
|
|
|
Add header for offsetof().
|
|
|
|
--- gfx/ots/src/os2.cc.orig 2012-03-06 14:45:28.000000000 +0000
|
|
+++ gfx/ots/src/os2.cc
|
|
@@ -9,6 +9,8 @@
|
|
// OS/2 - OS/2 and Windows Metrics
|
|
// http://www.microsoft.com/opentype/otspec/os2.htm
|
|
|
|
+#include <stddef.h>
|
|
+
|
|
namespace ots {
|
|
|
|
bool ots_os2_parse(OpenTypeFile *file, const uint8_t *data, size_t length) {
|