diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2016-07-27 22:56:32 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-07-27 22:56:32 +0000 |
| commit | 2ca742cddffcaadd9725b1d6edbf2aedd79eb29b (patch) | |
| tree | 940ccb898d2a40dfe61f77bacee08fff06214291 | |
| parent | 685d1d8acc8e8a8d618daafd086415a634c1bcd6 (diff) | |
| parent | c2122c6e57cad3c90ac7eeb8c42fa8416984590c (diff) | |
| download | android_packages_apps_Gallery2-2ca742cddffcaadd9725b1d6edbf2aedd79eb29b.tar.gz android_packages_apps_Gallery2-2ca742cddffcaadd9725b1d6edbf2aedd79eb29b.tar.bz2 android_packages_apps_Gallery2-2ca742cddffcaadd9725b1d6edbf2aedd79eb29b.zip | |
Merge "Add missing includes."
| -rw-r--r-- | jni/filters/geometry.c | 4 | ||||
| -rw-r--r-- | jni/filters/highlight.c | 2 | ||||
| -rw-r--r-- | jni/filters/redEyeMath.c | 2 | ||||
| -rw-r--r-- | jni/filters/shadows.c | 2 | ||||
| -rw-r--r-- | jni/filters/wbalance.c | 2 |
5 files changed, 11 insertions, 1 deletions
diff --git a/jni/filters/geometry.c b/jni/filters/geometry.c index 84a044c5a..b01e5e05f 100644 --- a/jni/filters/geometry.c +++ b/jni/filters/geometry.c @@ -14,8 +14,10 @@ * limitations under the License. */ -#include "filters.h" #include <stdio.h> +#include <stdlib.h> + +#include "filters.h" static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight){ //Vertical diff --git a/jni/filters/highlight.c b/jni/filters/highlight.c index fe9b88f94..567a216e0 100644 --- a/jni/filters/highlight.c +++ b/jni/filters/highlight.c @@ -15,6 +15,8 @@ */ #include <math.h> +#include <stdlib.h> + #include "filters.h" void JNIFUNCF(ImageFilterHighlights, nativeApplyFilter, jobject bitmap, diff --git a/jni/filters/redEyeMath.c b/jni/filters/redEyeMath.c index 26f3f76a4..9a16d6004 100644 --- a/jni/filters/redEyeMath.c +++ b/jni/filters/redEyeMath.c @@ -15,6 +15,8 @@ */ #include <math.h> +#include <stdlib.h> + #include "filters.h" int value(int r, int g, int b) { diff --git a/jni/filters/shadows.c b/jni/filters/shadows.c index 38d64c8b5..5f802dd21 100644 --- a/jni/filters/shadows.c +++ b/jni/filters/shadows.c @@ -15,6 +15,8 @@ */ #include <math.h> +#include <stdlib.h> + #include "filters.h" void JNIFUNCF(ImageFilterShadows, nativeApplyFilter, jobject bitmap, jint width, jint height, float scale){ diff --git a/jni/filters/wbalance.c b/jni/filters/wbalance.c index 7592a427d..99a7d2e0d 100644 --- a/jni/filters/wbalance.c +++ b/jni/filters/wbalance.c @@ -14,6 +14,8 @@ * limitations under the License. */ +#include <stdlib.h> + #include "filters.h" void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){ |
