소스 검색

examples/worker_collections: add missing include

Nathalie Furmento 11 년 전
부모
커밋
f0d2910c2a
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      examples/worker_collections/worker_list_example.c
  2. 1 0
      examples/worker_collections/worker_tree_example.c

+ 1 - 0
examples/worker_collections/worker_list_example.c

@@ -16,6 +16,7 @@
  */
 
 #include <starpu.h>
+#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)
 

+ 1 - 0
examples/worker_collections/worker_tree_example.c

@@ -16,6 +16,7 @@
  */
 
 #include <starpu.h>
+#include <sys/time.h>
 
 #define FPRINTF(ofile, fmt, ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ## __VA_ARGS__); }} while(0)