Index: rocs/impl/str.c --- rocs/impl/str.c.orig +++ rocs/impl/str.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "rocs/public/str.h" #include "rocs/public/mem.h" @@ -520,7 +521,7 @@ static char* _createStampNoDotsID( RocsMemID id ) { } -static char* _isoDate( long tt ) { +static char* _isoDate( time_t tt ) { struct tm* t = NULL; /* Alloc a string for the stamp; caller should freeup! */ @@ -536,7 +537,7 @@ static char* _isoDate( long tt ) { return s; } -static char* _isoTime( long tt ) { +static char* _isoTime( time_t tt ) { struct tm* t = NULL; /* Alloc a string for the stamp; caller should freeup! */