summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
commit62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 (patch)
tree5bbe5b8a63941c2d3b7f71fc53ceedcbc1d92cd6 /render/box.h
parent91e767cdfa11225dd370471892000e107bb06726 (diff)
downloadnetsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.gz
netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.bz2
[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
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h6
1 files changed, 6 insertions, 0 deletions
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 <limits.h>
#include <stdbool.h>
#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 <object> 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;