Commit 195d0b53 authored by Olivier F. R. Dierick's avatar Olivier F. R. Dierick Committed by Alexandre Julliard

windowscodecs: Include system header png.h before Windows headers.

parent 7b0a939a
...@@ -25,6 +25,9 @@ ...@@ -25,6 +25,9 @@
#include "wine/port.h" #include "wine/port.h"
#include <stdarg.h> #include <stdarg.h>
#ifdef SONAME_LIBPNG
#include <png.h>
#endif
#define NONAMELESSUNION #define NONAMELESSUNION
...@@ -43,8 +46,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wincodecs); ...@@ -43,8 +46,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
#ifdef SONAME_LIBPNG #ifdef SONAME_LIBPNG
#include <png.h>
static void *libpng_handle; static void *libpng_handle;
#define MAKE_FUNCPTR(f) static typeof(f) * p##f #define MAKE_FUNCPTR(f) static typeof(f) * p##f
MAKE_FUNCPTR(png_create_info_struct); MAKE_FUNCPTR(png_create_info_struct);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment