summaryrefslogtreecommitdiff
path: root/math/xgraph/files/patch-hpgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/xgraph/files/patch-hpgl.c')
-rw-r--r--math/xgraph/files/patch-hpgl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/xgraph/files/patch-hpgl.c b/math/xgraph/files/patch-hpgl.c
new file mode 100644
index 000000000000..7744f6898d87
--- /dev/null
+++ b/math/xgraph/files/patch-hpgl.c
@@ -0,0 +1,13 @@
+--- hpgl.c.orig Thu Aug 3 03:31:56 2000
++++ hpgl.c Sun Aug 6 23:45:06 2000
+@@ -13,9 +13,8 @@
+ #include "xgout.h"
+ #include "plotter.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <math.h>
+-#define MAX(a,b) ( ((a)>(b)) ? (a) : (b) )
+-#define MIN(a,b) ( ((a)<(b)) ? (a) : (b) )
+ /* char *malloc(); */
+
+ static void hpglText();