diff options
Diffstat (limited to 'cpp/src/IcePatch2/Util.cpp')
-rw-r--r-- | cpp/src/IcePatch2/Util.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/Util.cpp b/cpp/src/IcePatch2/Util.cpp index dd4d6b0a7ef..09bfbce039a 100644 --- a/cpp/src/IcePatch2/Util.cpp +++ b/cpp/src/IcePatch2/Util.cpp @@ -38,6 +38,9 @@ const char* IcePatch2::logFile = "IcePatch2.log"; // #ifdef __sun +extern "C" +{ + static int scandir(const char* dir, struct dirent*** namelist, int (*select)(const struct dirent*), @@ -101,6 +104,8 @@ alphasort(const void* v1, const void* v2) return(strcmp((*a)->d_name, (*b)->d_name)); } +} + #endif using namespace std; |