Fix warnings.
Change-Id: I4b911e4173da30c164bde7ea50bc80a70fbbb745
diff --git a/configure b/configure
index b39ddb2..6af0d6c 100755
--- a/configure
+++ b/configure
@@ -226,6 +226,7 @@
switchable_interp
tx16x16
newbestrefmv
+ rotation
"
CONFIG_LIST="
external_build
diff --git a/examples/decoder_tmpl.c b/examples/decoder_tmpl.c
index 8194f0a..597fea2 100644
--- a/examples/decoder_tmpl.c
+++ b/examples/decoder_tmpl.c
@@ -12,6 +12,7 @@
/*
@*INTRODUCTION
*/
+#include "vpx_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/vp8/common/predict_rotated.c b/vp8/common/predict_rotated.c
index 29ef65c..1401896 100644
--- a/vp8/common/predict_rotated.c
+++ b/vp8/common/predict_rotated.c
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "vpx_config.h"
+
#if CONFIG_ROTATION
typedef struct {
int y;
diff --git a/vp8/common/treecoder.c b/vp8/common/treecoder.c
index 5c182d4..def4caa 100644
--- a/vp8/common/treecoder.c
+++ b/vp8/common/treecoder.c
@@ -11,7 +11,7 @@
#include "vpx_config.h"
-#if CONFIG_DEBUG
+#if defined(CONFIG_DEBUG) && CONFIG_DEBUG
#include <assert.h>
#endif
#include <stdio.h>
diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
index 6ee5f5d..3246e92 100644
--- a/vpx_mem/vpx_mem.h
+++ b/vpx_mem/vpx_mem.h
@@ -12,6 +12,7 @@
#ifndef __VPX_MEM_H__
#define __VPX_MEM_H__
+#include "vpx_config.h"
#if defined(__uClinux__)
# include <lddk.h>
#endif
diff --git a/vpx_ports/asm_offsets.h b/vpx_ports/asm_offsets.h
index 05da24f..6752463 100644
--- a/vpx_ports/asm_offsets.h
+++ b/vpx_ports/asm_offsets.h
@@ -18,7 +18,7 @@
static void assert_##name(void) UNUSED;\
static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
-#if INLINE_ASM
+#if defined(INLINE_ASM) && INLINE_ASM
#define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val));
#define BEGIN int main(void) {
#define END return 0; }
diff --git a/vpxenc.c b/vpxenc.c
index 5667abe..26c52d5 100644
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "vpx_config.h"
/* This is a simple program that encodes YV12 files and generates ivf
* files using the new interface.