summaryrefslogtreecommitdiff
path: root/archivers/lha/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lha/patches/patch-aj')
-rw-r--r--archivers/lha/patches/patch-aj15
1 files changed, 15 insertions, 0 deletions
diff --git a/archivers/lha/patches/patch-aj b/archivers/lha/patches/patch-aj
new file mode 100644
index 00000000000..13e72891b2b
--- /dev/null
+++ b/archivers/lha/patches/patch-aj
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1 2002/07/19 03:14:33 mycroft Exp $
+
+--- src/util.c.orig Wed Oct 4 14:57:38 2000
++++ src/util.c Fri Jul 19 03:11:46 2002
+@@ -15,6 +15,10 @@
+ */
+ #include <errno.h>
+
++#if defined(__STDC__) || defined(NEWSOS)
++#include <stdlib.h>
++#endif
++
+ /* ------------------------------------------------------------------------ */
+ extern unsigned short crc;
+ extern int quiet;