summaryrefslogtreecommitdiff
path: root/editors/mg/patches/patch-line.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mg/patches/patch-line.c')
-rw-r--r--editors/mg/patches/patch-line.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/mg/patches/patch-line.c b/editors/mg/patches/patch-line.c
new file mode 100644
index 00000000000..dc35068198d
--- /dev/null
+++ b/editors/mg/patches/patch-line.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-line.c,v 1.1 2014/07/07 18:06:58 jperkin Exp $
+
+Include limits.h for INT_{MIN,MAX}
+
+--- line.c.orig 2011-01-20 04:36:13.000000000 +0000
++++ line.c
+@@ -20,6 +20,7 @@
+
+ #include "def.h"
+
++#include <limits.h>
+ #include <stdlib.h>
+ #include <string.h>
+