24 lines
577 B
Plaintext
24 lines
577 B
Plaintext
$NetBSD: patch-ah,v 1.11 2010/07/13 06:08:23 adam Exp $
|
|
|
|
--- converter/other/cameratopam/camera.c.orig 2006-08-19 03:12:28.000000000 +0000
|
|
+++ converter/other/cameratopam/camera.c
|
|
@@ -2,6 +2,7 @@
|
|
/* Make sure strcasecmp is in string.h */
|
|
#define _XOPEN_SOURCE
|
|
/* Make sure putenv is in stdlib.h */
|
|
+#define __EXTENSIONS__
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
@@ -24,6 +25,10 @@
|
|
|
|
#include "camera.h"
|
|
|
|
+#ifdef __sun
|
|
+#define setenv(x, y, z) putenv(x"="y)
|
|
+#endif
|
|
+
|
|
#if HAVE_INT64
|
|
typedef int64_t INT64;
|
|
static bool const have64BitArithmetic = true;
|