$NetBSD: patch-db,v 1.1 2006/11/03 07:45:19 rillig Exp $ --- converter/other/jpeg2000/jpeg2ktopam.c.orig Tue Oct 31 09:41:56 2006 +++ converter/other/jpeg2000/jpeg2ktopam.c Tue Oct 31 10:52:39 2006 @@ -9,7 +9,11 @@ *****************************************************************************/ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ +#ifdef __osf__ +#define _OSF_SOURCE +#else #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ +#endif /* __osf__ */ #include #include "pam.h"