16 lines
415 B
Plaintext
16 lines
415 B
Plaintext
$OpenBSD: patch-source_blender_src_glutil_c,v 1.1 2009/11/01 13:10:52 jasper Exp $
|
|
|
|
fix possible 64-bit issue as getenv() returns char *.
|
|
|
|
--- source/blender/src/glutil.c.orig Sun Nov 1 13:56:46 2009
|
|
+++ source/blender/src/glutil.c Sun Nov 1 13:57:51 2009
|
|
@@ -34,7 +34,7 @@
|
|
#include <string.h>
|
|
|
|
/* getenv only */
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__OpenBSD__)
|
|
#include <stdlib.h>
|
|
#endif
|
|
|