Make public yp2_filter_struct non-const. If not, the linker symbol
[metaproxy-moved-to-github.git] / src / filter_z3950_client.hpp
index 81633ad..70b64ac 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_z3950_client.hpp,v 1.4 2005-10-31 09:40:18 marc Exp $
+/* $Id: filter_z3950_client.hpp,v 1.7 2006-01-04 11:55:32 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
@@ -7,8 +7,6 @@
 #ifndef FILTER_Z3950_CLIENT_HPP
 #define FILTER_Z3950_CLIENT_HPP
 
-#include <stdexcept>
-#include <list>
 #include <boost/scoped_ptr.hpp>
 
 #include "filter.hpp"
@@ -28,6 +26,10 @@ namespace yp2 {
     }
 }
 
+extern "C" {
+    extern struct yp2_filter_struct yp2_filter_z3950_client;
+}
+
 #endif
 /*
  * Local variables: