瀏覽代碼

merge trunk

Samuel Thibault 10 年之前
父節點
當前提交
009548ade9
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 2
      Makefile.am
  2. 1 0
      src/core/disk_ops/disk_leveldb.cpp

+ 2 - 2
Makefile.am

@@ -99,9 +99,9 @@ starpu-top/starpu_top$(EXEEXT): all-local
 all-local:
 	cd starpu-top ; $(QMAKE) ; $(MAKE)
 if STARPU_DEVEL
-	@if grep -r sys/time.h $$( find $(srcdir)/examples $(srcdir)/tests $(srcdir)/src $(srcdir)/mpi/src $(srcdir)/include -name \*.[ch] -a \! -name starpu_util.h -a \! -name timer.h ) ; \
+	@if grep -r sys/time.h $$( find $(srcdir)/examples $(srcdir)/tests $(srcdir)/src $(srcdir)/mpi/src $(srcdir)/include -name \*.[ch] -a \! -name starpu_util.h -a \! -name timer.h -a \! -name loader.c ) ; \
 	then \
-		echo "Please do not include sys/time, it is not available on Windows, include starpu_util.h and use starpu_timing_now() instead" ; \
+		echo "Please do not include sys/time, it is not available on Windows, include starpu_util.h and use starpu_timing_now() instead" ; \
 		false ; \
 	fi
 endif

+ 1 - 0
src/core/disk_ops/disk_leveldb.cpp

@@ -17,6 +17,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>
+#include <common/config.h>
 #include <leveldb/db.h>
 #include <leveldb/options.h>