$NetBSD: patch-ab,v 1.1.1.1 2006/08/30 17:03:28 drochner 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,
