#define _BSD_SOURCE #include int mkostemp(char *template, int flags) { return __mkostemps(template, 0, flags); } weak_alias(mkostemp, mkostemp64);