diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-11 03:47:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-11 03:47:58 +0400 |
commit | 241fccaf6a113963598e5ad040e7e72c857bea00 (patch) | |
tree | fe4072418d5aefcb302350c59140783c4fe5db41 /intern/cycles/util/util_path.h | |
parent | 9e1ca2858920f059c957401160d0a9b75b6ff2bf (diff) |
Fix T37817: cycles CUDA detection problem on Windows with non-ascii paths.
Diffstat (limited to 'intern/cycles/util/util_path.h')
-rw-r--r-- | intern/cycles/util/util_path.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/util/util_path.h b/intern/cycles/util/util_path.h index 9b63a427924..3cffd7d91e9 100644 --- a/intern/cycles/util/util_path.h +++ b/intern/cycles/util/util_path.h @@ -22,6 +22,8 @@ * linked libraries, the path to the library may be set with path_init, which * then makes all paths relative to that. */ +#include <stdio.h> + #include "util_string.h" #include "util_types.h" #include "util_vector.h" @@ -50,6 +52,8 @@ uint64_t path_modified_time(const string& path); string path_source_replace_includes(const string& source, const string& path); +FILE *path_fopen(const string& path, const string& mode); + CCL_NAMESPACE_END #endif |