]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/metar_main.cxx
Sink position-init code into its own file.
[flightgear.git] / src / Main / metar_main.cxx
index 7b904d3a245f492f97246ca1a2613c766926557e..b1a39078afdb5d98df13fa9671493c7dd713ff97 100644 (file)
@@ -33,6 +33,7 @@
 
 #include <simgear/io/HTTPClient.hxx>
 #include <simgear/io/HTTPRequest.hxx>
+#include <simgear/io/raw_socket.hxx>
 #include <simgear/timing/timestamp.hxx>
 
 using namespace std;
@@ -547,6 +548,8 @@ int main(int argc, char *argv[])
        string proxy_host, proxy_port;
        getproxy(proxy_host, proxy_port);
 
+  Socket::initSockets();
+  
     HTTP::Client http;
     http.setProxy(proxy_host, atoi(proxy_port.c_str()));