$NetBSD: patch-dc,v 1.1 2006/11/03 07:45:19 rillig Exp $ --- converter/other/cameratopam/camera.c.orig Tue Oct 31 09:49:45 2006 +++ converter/other/cameratopam/camera.c Tue Oct 31 10:55:38 2006 @@ -1,7 +1,11 @@ #define _BSD_SOURCE /* Make sure strcasecmp is in string.h */ +#ifdef __osf__ +#define _OSF_SOURCE +#else #define _XOPEN_SOURCE /* Make sure putenv is in stdlib.h */ +#endif /* __osf__ */ #define __EXTENSIONS__ #include