diff --git a/tester/log_collection_tester.c b/tester/log_collection_tester.c index 98035e89c..dd8d9bb7b 100644 --- a/tester/log_collection_tester.c +++ b/tester/log_collection_tester.c @@ -17,16 +17,16 @@ */ #include +#ifndef __USE_XOPEN + /*on Debian OS, time.h does declare strptime only if __USE_XOPEN is declared */ + #define __USE_XOPEN +#endif #include #include "CUnit/Basic.h" #include "linphonecore.h" #include "private.h" #include "liblinphone_tester.h" -#ifndef __APPLE__ -extern char *strptime(char*, char*, struct tm*); -#endif - LinphoneCoreManager* setup(bool_t enable_logs) { LinphoneCoreManager *marie; int timeout = 300;