$NetBSD: patch-ah,v 1.7 2005/08/31 08:04:58 jlam Exp $ --- converter/other/cameratopam/camera.c.orig Mon Aug 15 06:12:51 2005 +++ converter/other/cameratopam/camera.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #ifdef HAVE_JPEG @@ -21,6 +22,10 @@ #include "dng.h" #include "camera.h" + +#ifdef __sun +#define setenv(x, y, z) putenv(x"="y) +#endif #if HAVE_INT64 typedef int64_t INT64;