$NetBSD: patch-dd,v 1.1.30.1 2010/02/25 08:43:28 spz Exp $

--- converter/other/cameratopam/cameratopam.c.orig	2006-08-19 03:12:28.000000000 +0000
+++ converter/other/cameratopam/cameratopam.c
@@ -8,7 +8,11 @@
 
 
 #define _BSD_SOURCE 1   /* Make sure string.h contains strcasecmp() */
+#ifdef __osf__
+#define _OSF_SOURCE
+#else
 #define _XOPEN_SOURCE  /* Make sure unistd.h contains swab() */
+#endif /* __osf__ */
 
 #include <ctype.h>
 #include <unistd.h>
