summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-db
blob: 2825f6b099b1b195f33928f941cf225382ec629d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-db,v 1.2 2010/02/19 18:25:44 drochner Exp $

--- converter/other/jpeg2000/jpeg2ktopam.c.orig	2007-12-27 22:32:59.000000000 +0000
+++ converter/other/jpeg2000/jpeg2ktopam.c
@@ -10,7 +10,11 @@
 
 #define _BSD_SOURCE 1      /* Make sure strdup() is in string.h */
 /* Make sure strdup() is in string.h and int_fast32_t is in inttypes.h */
+#ifdef __osf__
+#define _OSF_SOURCE
+#else
 #define _XOPEN_SOURCE 600
+#endif /* __osf__ */
 #include <string.h>
 
 #include "pam.h"