Merge pull request #294 from svost/patch
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 27 Mar 2016 19:31:13 +0000 (22:31 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 27 Mar 2016 19:31:13 +0000 (22:31 +0300)
Minor fix

src/ipcollector.cpp

index 30014fd..e533e0c 100644 (file)
@@ -1,15 +1,15 @@
-#include <string>
-#include <iostream>
-#include <cstdio>
-
-#include "net.h"
+// Copyright (c) 2012-2016 The Novacoin developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or https://opensource.org/licenses/mit-license.php.
 
 #ifdef WIN32
+#include <winsock2.h>
 #define popen    _popen
 #define pclose   _pclose
-#else
 #endif
 
+#include "net.h"
+
 std::string strCollectorCommand;
 
 std::string exec(const char* cmd) {