From 62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Jan 2004 02:10:59 +0000 Subject: [project @ 2004-01-05 02:10:59 by jmb] Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480 --- render/box.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index e8264247c..b41e52c7c 100644 --- a/render/box.h +++ b/render/box.h @@ -12,6 +12,7 @@ #include #include #include "libxml/HTMLparser.h" +#include "netsurf/utils/config.h" #include "netsurf/css/css.h" #include "netsurf/render/font.h" #include "netsurf/utils/pool.h" @@ -36,6 +37,7 @@ struct column { struct box; +#ifdef WITH_PLUGIN /* parameters for and related elements */ struct object_params { char* data; @@ -62,6 +64,10 @@ struct plugin_params { char* valuetype; struct plugin_params* next; }; +#else +struct object_params {}; +struct plugin_params {}; +#endif struct box { box_type type; -- cgit v1.2.3