浏览代码

add missing include for timeval

Samuel Thibault 15 年之前
父节点
当前提交
eb376e4819
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/spmv/dw_spmv.h

+ 1 - 0
examples/spmv/dw_spmv.h

@@ -22,6 +22,7 @@
 #include <stdint.h>
 #include <math.h>
 #include <sys/types.h>
+#include <sys/time.h>
 #include <pthread.h>
 #include <signal.h>