--- libaitsync/inc/tool.h 2010/03/24 16:00:15 1.1.1.1 +++ libaitsync/inc/tool.h 2011/05/09 13:46:11 1.1.1.1.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tool.h,v 1.1.1.1 2010/03/24 16:00:15 misho Exp $ +* $Id: tool.h,v 1.1.1.1.2.2 2011/05/09 13:46:11 misho Exp $ * *************************************************************************/ #ifndef __TOOL_H @@ -11,6 +11,10 @@ inline void sync_mksig(int id, off_t off, u_char * __restrict buf, int buflen, sync_chunk_t * __restrict sc); + +#ifndef HAVE_MKSTEMPS +int mkstemps(char *path, int slen); +#endif #endif