(Continues from: Porting from Code::Blocks to Visual Studio 2010 - I\'ll remove this if it\'s against StackExchange\'s formatting rules)
I\'m trying to port an
I know this is an old post, but I had a similar problem with the time related headers. This was my solution.
This repository provided an implementation of those time related functions. They also appear to have an automatically exported github project with the same files, in case that original repository link stops working: https://github.com/zhouheng/madp-win/tree/master/src/include/sys
I took their three files: time.h, times.h and times.cpp, dropped them into a folder called "sys/" within my project directory, and then replaced all references to:
#include
to use:
#include "sys/time.h"
for local file reference. So far I have not encountered any problems. Please note this is not my code and the original license(s) of the code is LGPL.