From 05cf62d1c85bc4e9716bf7adbbcba8036eef6ace Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 13 Aug 2013 13:47:12 -0700 Subject: [PATCH] Fix libpng includes png.h now includes pnglibconf.h update the include path so it can find it Change-Id: I594f1613e42405072029ae4cd7f9f8d0e03b2434 --- cmds/screenshot/Android.mk | 2 +- cmds/screenshot/screenshot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds/screenshot/Android.mk b/cmds/screenshot/Android.mk index 0afb2c5ef..1ee78077e 100644 --- a/cmds/screenshot/Android.mk +++ b/cmds/screenshot/Android.mk @@ -7,6 +7,6 @@ LOCAL_MODULE := screenshot LOCAL_SHARED_LIBRARIES := libcutils libz liblog LOCAL_STATIC_LIBRARIES := libpng -LOCAL_C_INCLUDES += external/zlib +LOCAL_C_INCLUDES += external/zlib external/libpng include $(BUILD_EXECUTABLE) diff --git a/cmds/screenshot/screenshot.c b/cmds/screenshot/screenshot.c index cca80c3c1..be1ecd447 100644 --- a/cmds/screenshot/screenshot.c +++ b/cmds/screenshot/screenshot.c @@ -8,7 +8,7 @@ #include #include -#include +#include #include "private/android_filesystem_config.h"