diff options
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 6 |
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; |