Sfoglia il codice sorgente

make sure to get alloca

Samuel Thibault 10 anni fa
parent
commit
dfa363d81f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/datawizard/memalloc.c

+ 1 - 0
src/datawizard/memalloc.c

@@ -22,6 +22,7 @@
 #include <core/disk.h>
 #include <starpu.h>
 #include <common/uthash.h>
+#include <alloca.h>
 
 /* This per-node RW-locks protect mc_list and memchunk_cache entries */
 /* Note: handle header lock is always taken before this (normal add/remove case) */