OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-CompactHash commits / b4f3a00

Fixing timer header problems
b4f3a003cf57f238fef45273e0ce291024206fa8
by brobey <brobey@lanl.gov> · 2019-07-06T23:27:41.000Z

Changed files (2) +3 -1

CMakeLists.txt +2 -0
……@@ -9,6 +9,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
99# --- custom targets: ---
1010INCLUDE( cmake/Modules/TargetDistclean.cmake OPTIONAL)
1111
12set (CMAKE_C_STANDARD 99)
13
1214if (NOT CMAKE_BUILD_TYPE)
1315# set(CMAKE_BUILD_TYPE RelWithDebInfo)
1416 set(CMAKE_BUILD_TYPE Release)
timer/timer.c +1 -1
……@@ -54,7 +54,7 @@
5454 *
5555 */
5656
57#include <sys/time.h>
57#include <time.h>
5858#include "timer.h"
5959
6060void cpu_timer_start(struct timespec *tstart_cpu)