+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "layout.hxx"
+#include <simgear/math/SGMath.hxx>
+
// This file contains the actual layout engine. It has no dependence
// on outside libraries; see layout-props.cxx for the glue code.
if(getBool("vertical")) *w = 4*UNIT;
else *h = 4*UNIT;
} else if (isType("list") || isType("airport-list")
- || isType("property-list") || isType("dial")) {
+ || isType("property-list") || isType("dial") || isType("waypointlist")) {
*w = *h = 12*UNIT;
} else if (isType("hrule")) {
*h = 1;