r5333 mmu_man - in /trunk/netsurf/image: png.c png.h

netsurf at semichrome.net netsurf at semichrome.net
Mon Sep 15 22:12:48 BST 2008


Author: mmu_man
Date: Mon Sep 15 16:12:48 2008
New Revision: 5333

URL: http://source.netsurf-browser.org?rev=5333&view=rev
Log:
Fix include path for libpng.
Libpng mandates using <png.h>, if it doesn't work for you, fix your OS :D
(or use -I)
See http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-2

Modified:
    trunk/netsurf/image/png.c
    trunk/netsurf/image/png.h

Modified: trunk/netsurf/image/png.c
URL: http://source.netsurf-browser.org/trunk/netsurf/image/png.c?rev=5333&r1=5332&r2=5333&view=diff
==============================================================================
--- trunk/netsurf/image/png.c (original)
+++ trunk/netsurf/image/png.c Mon Sep 15 16:12:48 2008
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <libpng/png.h>
+#include <png.h>
 
 #include "utils/config.h"
 

Modified: trunk/netsurf/image/png.h
URL: http://source.netsurf-browser.org/trunk/netsurf/image/png.h?rev=5333&r1=5332&r2=5333&view=diff
==============================================================================
--- trunk/netsurf/image/png.h (original)
+++ trunk/netsurf/image/png.h Mon Sep 15 16:12:48 2008
@@ -21,7 +21,7 @@
 #define _NETSURF_RISCOS_PNG_H_
 
 #include <stdbool.h>
-#include <libpng/png.h>
+#include <png.h>
 
 struct content;
 struct bitmap;




More information about the netsurf-commits mailing list