ソースを参照

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)