summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/patches/patch-base_memento.c
blob: 7d7f4cf2396ac50ee6f1a12c0f2b7f37f0c876e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-base_memento.c,v 1.1 2015/08/11 18:16:50 wiz Exp $

Rely on header to get memset prototype.

--- base/memento.c.orig	2012-08-08 08:01:36.000000000 +0000
+++ base/memento.c
@@ -40,11 +40,7 @@
 #ifdef MEMENTO_GS_HACKS
 /* For GS we include malloc_.h. Anyone else would just include memento.h */
 #include "malloc_.h"
-#ifdef __MACH__
 #include <string.h>
-#else
-void *memset(void *,int,size_t);
-#endif
 int atexit(void (*)(void));
 #else
 #include "memento.h"