Browse Source

Fix build without fxt

Samuel Thibault 10 years ago
parent
commit
83af85922d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/debug/traces/anim.c

+ 2 - 0
src/debug/traces/anim.c

@@ -21,6 +21,7 @@
 #include <starpu.h>
 #include "starpu_fxt.h"
 
+#ifdef STARPU_FXT
 static struct component {
 	UT_hash_handle hh;
 	char *name;
@@ -511,3 +512,4 @@ void _starpu_fxt_component_finish(FILE *file)
 	fprintf(file, "\t</body>\n");
 	fprintf(file, "</html>\n");
 }
+#endif