diff -purN worker-2.17.2/src/wconfig_layout.cc worker-2.17.2-new/src/wconfig_layout.cc
--- worker-2.17.2/src/wconfig_layout.cc	2009-03-04 23:02:52.000000000 +0100
+++ worker-2.17.2-new/src/wconfig_layout.cc	2009-03-10 19:32:28.000000000 +0100
@@ -23,6 +23,7 @@
 #include "wconfig.h"
 #include "worker.h"
 #include <aguix/acontainerbb.h>
+#include <algorithm>
 
 static struct {
   WConfig::layoutID_t id;

