summaryrefslogtreecommitdiff
path: root/graphics/djvulibre-lib/patches/patch-ab
blob: 6735ce928430e1ecadb8887a0fe5f277bb39ecf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2006/08/30 17:03:28 drochner Exp $

--- libdjvu/miniexp.h.orig	2006-02-21 20:27:41.000000000 +0100
+++ libdjvu/miniexp.h
@@ -38,7 +38,9 @@ extern "C" { 
 /* miniexp_t -- 
    Opaque pointer type representing a lisp expression. */
 
-typedef struct miniexp_s* miniexp_t;
+#ifndef DDJVUAPI /* avoid double declaration */
+typedef struct miniexp_s* miniexp_t; 
+#endif
 
 
 /* There are four basic types of lisp expressions,