From aa2587254ac7a46457bc8a7b6cd6b26f50843330 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 9 Oct 2010 18:00:32 +0000 Subject: Update build instructions Remove warnings from treeview branch merge svn path=/trunk/netsurf/; revision=10874 --- Docs/BUILDING-Windows | 72 +++++++++++++++++++++++---------------------------- utils/config.h | 1 + utils/findresource.c | 1 + windows/gui.c | 1 + windows/misc.c | 5 ---- windows/tree.c | 3 +-- 6 files changed, 37 insertions(+), 46 deletions(-) diff --git a/Docs/BUILDING-Windows b/Docs/BUILDING-Windows index 6e1ecead9..409303327 100644 --- a/Docs/BUILDING-Windows +++ b/Docs/BUILDING-Windows @@ -80,6 +80,18 @@ For other OS the apropriate packages and environment must be installed. + pkg-config +------------ + + A pkg-config wrapper script is required to make things easier + +cat > /usr/i586-mingw32msvc/bin/pkg-config < #include +#include "utils/config.h" #include "utils/findresource.h" #define MAX_RESPATH 128 /* maximum number of elements in the resource vector */ diff --git a/windows/gui.c b/windows/gui.c index 99e904071..c9640ffbb 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -58,6 +58,7 @@ #include "windows/plot.h" #include "windows/prefs.h" #include "windows/resourceid.h" +#include "windows/schedule.h" char *default_stylesheet_url; char *adblock_stylesheet_url; diff --git a/windows/misc.c b/windows/misc.c index 4b6aa91ff..513a2bd1d 100644 --- a/windows/misc.c +++ b/windows/misc.c @@ -41,11 +41,6 @@ void die(const char *error) exit(1); } -bool cookies_update(const char *domain, const struct cookie_data *data) -{ - return true; -} - /** * Return the filename part of a full path * diff --git a/windows/tree.c b/windows/tree.c index 61e32e0a5..78182fbd6 100644 --- a/windows/tree.c +++ b/windows/tree.c @@ -17,13 +17,12 @@ */ #include "desktop/tree.h" +#include "desktop/tree_url_node.h" const char tree_directory_icon_name[] = "directory.png"; const char tree_content_icon_name[] = "content.png"; - - /** * Translates a content_type to the name of a respective icon * -- cgit v1.2.3