diff options
Diffstat (limited to 'src/utils/indxbib/indxbib.cc')
-rw-r--r-- | src/utils/indxbib/indxbib.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utils/indxbib/indxbib.cc b/src/utils/indxbib/indxbib.cc index 403aa6fe..358c8353 100644 --- a/src/utils/indxbib/indxbib.cc +++ b/src/utils/indxbib/indxbib.cc @@ -37,13 +37,13 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "nonposix.h" +extern "C" const char *Version_string; + +#ifndef HAVE_MKSTEMP_PROTO extern "C" { - const char *Version_string; - // Solaris 2.5.1 has these functions, - // but its stdlib.h fails to declare them. - char *mktemp(char *); - int mkstemp(char *); + extern int mkstemp(char *); } +#endif #define DEFAULT_HASH_TABLE_SIZE 997 #define TEMP_INDEX_TEMPLATE "indxbibXXXXXX" |