aboutsummaryrefslogtreecommitdiff
path: root/cad/triangle/files/patch-showme.c
diff options
context:
space:
mode:
Diffstat (limited to 'cad/triangle/files/patch-showme.c')
-rw-r--r--cad/triangle/files/patch-showme.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/triangle/files/patch-showme.c b/cad/triangle/files/patch-showme.c
new file mode 100644
index 000000000000..7d0ee0736a2e
--- /dev/null
+++ b/cad/triangle/files/patch-showme.c
@@ -0,0 +1,11 @@
+--- ./showme.c.orig Wed Apr 28 05:13:34 2004
++++ ./showme.c Sat Oct 16 23:00:09 2004
+@@ -106,6 +106,8 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+
++#include <stdlib.h>
++
+ /* The following obscenity seems to be necessary to ensure that this program */
+ /* will port to Dec Alphas running OSF/1, because their stdio.h file commits */
+ /* the unpardonable sin of including stdlib.h. Hence, malloc(), free(), and */