user32: Include png.h only if SONAME_LIBPNG is defined.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2019-11-07 22:02:36 +01:00 committed by Alexandre Julliard
parent b4684bc561
commit cfa9334125

View file

@ -31,7 +31,7 @@
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#ifdef HAVE_PNG_H
#ifdef SONAME_LIBPNG
#include <png.h>
#endif