Index: trunk/FACT++/src/zfits.cc
===================================================================
--- trunk/FACT++/src/zfits.cc	(revision 19176)
+++ trunk/FACT++/src/zfits.cc	(revision 19177)
@@ -18,5 +18,9 @@
     po::options_description control("zfits");
     control.add_options()
-        ("in",           var<string>()->required(), "")
+        ("in",           var<string>()
+#if BOOST_VERSION >= 104200
+         ->required()
+#endif
+         )
         ("out",          var<string>(),             "")
         ("decompress,d", po_switch(),               "")
@@ -64,4 +68,10 @@
 }
 
+struct col_t : fits::Table::Column
+{
+    string name;
+    void *ptr;
+};
+
 int Compress(const string &ifile, const string &ofile)
 {
@@ -85,11 +95,4 @@
     // columns in the same order as they are in the file
     const fits::Table::Columns &cols= f.GetColumns();
-
-    struct col_t : fits::Table::Column
-    {
-        string name;
-        void *ptr;
-    };
-
 
     map<size_t, col_t> columns;
