Cleaned up includes so that compilation without PNG works again

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32014 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2011-02-08 16:14:12 +00:00
parent 18813674f2
commit 14328a34f3

View file

@ -3,7 +3,7 @@
Methods for loading .png images.
Copyright (C) 2003 Free Software Foundation, Inc.
Copyright (C) 2003-2011 Free Software Foundation, Inc.
Written by: Alexander Malmberg <alexander@malmberg.org>
Date: 2003-12-07
@ -29,14 +29,6 @@
#import "config.h"
#if HAVE_LIBPNG
#ifdef HAVE_LIBPNG_PNG_H
#include <libpng/png.h>
#else
#include <png.h>
#endif
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
@ -45,6 +37,10 @@
#import "AppKit/NSGraphics.h"
#import "NSBitmapImageRep+PNG.h"
#ifdef HAVE_LIBPNG
#include <png.h>
#if defined(PNG_FLOATING_POINT_SUPPORT)
# define PNG_FLOATING_POINT 1
#else