summaryrefslogtreecommitdiff
path: root/archivers/cabextract/patches/patch-aa
blob: ccaa44f2311dcba9f5a4dbad262acbd8559ca9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.5 2004/10/28 10:35:56 wiz Exp $

--- mempcpy.c.orig	2004-07-16 16:07:01.000000000 +0200
+++ mempcpy.c
@@ -29,7 +29,13 @@ Copies @var{length} bytes from memory re
 
 */
 
-#include <ansidecl.h>
+#include <string.h>
+#ifndef PTR
+#define PTR void*
+#endif
+#ifndef PARAMS
+#define PARAMS(x)	x
+#endif
 #ifdef ANSI_PROTOTYPES
 #include <stddef.h>
 #else