diff options
Diffstat (limited to 'jni')
| -rw-r--r-- | jni/Android.mk | 4 | ||||
| -rw-r--r-- | jni/filters/hsv.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk index 0b8480e56..37382e495 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -8,7 +8,7 @@ LOCAL_SRC_FILES := jni_egl_fence.cpp LOCAL_SDK_VERSION := 9 -LOCAL_LDFLAGS := -llog -lEGL +LOCAL_SHARED_LIBRARIES := liblog libEGL LOCAL_MODULE_TAGS := optional @@ -22,7 +22,7 @@ include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_CPP_EXTENSION := .cc -LOCAL_LDFLAGS := -llog -ljnigraphics +LOCAL_SHARED_LIBRARIES := liblog libjnigraphics LOCAL_SDK_VERSION := 9 LOCAL_MODULE := libjni_filtershow_filters LOCAL_SRC_FILES := filters/gradient.c \ diff --git a/jni/filters/hsv.c b/jni/filters/hsv.c index aabd053fe..966b05abb 100644 --- a/jni/filters/hsv.c +++ b/jni/filters/hsv.c @@ -15,6 +15,7 @@ */ #include <math.h> +#include <stdlib.h> /* For abs */ #include "filters.h" double fastevalPoly(double *poly,int n, double x){ |
