$NetBSD: patch-ab,v 1.2 2007/02/05 23:41:50 wiz Exp $

--- libdjvu/miniexp.h.orig	2006-05-12 16:23:36.000000000 +0000
+++ libdjvu/miniexp.h
@@ -46,7 +46,9 @@ extern "C" { 
    information */
 
 
-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,
