Browse Source

Fix build

Samuel Thibault 7 years ago
parent
commit
f03f48d3b8
2 changed files with 3 additions and 2 deletions
  1. 2 2
      starpufft/src/Makefile.am
  2. 1 0
      starpufft/src/starpufftx.c

+ 2 - 2
starpufft/src/Makefile.am

@@ -1,6 +1,6 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
-# Copyright (C) 2009-2013, 2015-2016  Université de Bordeaux
+# Copyright (C) 2009-2013, 2015-2017  Université de Bordeaux
 # Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017  CNRS
 #
 # StarPU is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
 include $(top_srcdir)/starpu.mk
 
 AM_CFLAGS = $(GLOBAL_AM_CFLAGS) $(HWLOC_CFLAGS)
-AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/starpufft/include/ -I$(top_builddir)/include $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(HWLOC_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/starpufft/include/ -I$(top_builddir)/include -I$(top_builddir)/src -I$(top_srcdir)/src/ $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(HWLOC_CFLAGS)
 
 lib_LTLIBRARIES = libstarpufft-@STARPU_EFFECTIVE_VERSION@.la
 

+ 1 - 0
starpufft/src/starpufftx.c

@@ -22,6 +22,7 @@
 #include <sys/time.h>
 
 #include <starpu.h>
+#include <common/config.h>
 
 #include "starpufft.h"
 #ifdef STARPU_USE_CUDA