summaryrefslogtreecommitdiff
path: root/editors/lyx/patches/patch-src_mathed_MathData.h
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lyx/patches/patch-src_mathed_MathData.h')
-rw-r--r--editors/lyx/patches/patch-src_mathed_MathData.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/lyx/patches/patch-src_mathed_MathData.h b/editors/lyx/patches/patch-src_mathed_MathData.h
new file mode 100644
index 00000000000..916516a971f
--- /dev/null
+++ b/editors/lyx/patches/patch-src_mathed_MathData.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_mathed_MathData.h,v 1.1 2012/03/10 20:55:47 markd Exp $
+
+Fix build with gcc 4.6
+
+--- src/mathed/MathData.h.orig 2010-01-20 02:10:29.000000000 +0000
++++ src/mathed/MathData.h
+@@ -15,6 +15,7 @@
+ #ifndef MATH_DATA_H
+ #define MATH_DATA_H
+
++#include <cstddef>
+ #include "Dimension.h"
+ #include "MathAtom.h"
+