Fix pacakaging missing adl headers and build failure without adl sdk headers installed.
diff --git a/Makefile.am b/Makefile.am
index 1aca995..a88fe84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ cgminer_SOURCES = elist.h miner.h compat.h bench_block.h \
sha256_generic.c sha256_4way.c sha256_via.c \
sha256_cryptopp.c sha256_sse2_amd64.c \
sha256_sse4_amd64.c sha256_sse2_i386.c \
- adl.c \
+ adl.c adl.h adl_functions.h \
phatk110817.cl poclbm110817.cl
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
diff --git a/adl.h b/adl.h
index 832c736..817e21d 100644
--- a/adl.h
+++ b/adl.h
@@ -19,9 +19,9 @@ void change_gpusettings(int gpu);
void gpu_autotune(int gpu);
void clear_adl(int nDevs);
#else /* HAVE_ADL */
-void init_adl(int nDevs) {}
-void change_gpusettings(int gpu) { }
-void gpu_autotune(int gpu) { }
-void clear_adl(int nDevs) {}
+static inline void init_adl(int nDevs) {}
+static inline void change_gpusettings(int gpu) { }
+static inline void gpu_autotune(int gpu) { }
+static inline void clear_adl(int nDevs) {}
#endif
#endif