summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-dc
blob: 82b4ec41fbdca5f0fa3552b556c9da4db8d4e6bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-dc,v 1.2 2014/08/21 20:58:23 wiz Exp $

--- converter/other/cameratopam/camera.c.orig	2006-08-19 03:12:28.000000000 +0000
+++ converter/other/cameratopam/camera.c
@@ -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__ */
 
 #include <stdlib.h>
 #include <string.h>