$NetBSD: patch-dd,v 1.1 2006/11/03 07:45:19 rillig Exp $

--- converter/other/cameratopam/cameratopam.c.orig	Tue Oct 31 09:55:51 2006
+++ converter/other/cameratopam/cameratopam.c	Tue Oct 31 10:55:17 2006
@@ -18,7 +18,11 @@
 */
 #include <time.h>
 
+#ifdef __osf__
+#define _OSF_SOURCE
+#else
 #define _XOPEN_SOURCE  /* Make sure unistd.h contains swab() */
+#endif /* __osf__ */
 
 #include <ctype.h>
 #include <unistd.h>
