Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
zpalmtree committed Jul 28, 2019
1 parent 9327ea8 commit f387914
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/config/Ascii.h
Expand Up @@ -4,6 +4,8 @@

#pragma once

#include <string>

const std::string windowsAsciiArt = "\n _______ _ _ _____ _ \n"
"|__ __| | | | | / ____| (_) \n"
" | |_ _ _ __| |_| | ___| | ___ _ _ __ \n"
Expand Down
2 changes: 2 additions & 0 deletions src/crypto/crypto-ops.h
@@ -1,5 +1,7 @@
#pragma once

#include <stdint.h>

/* From fe.h */

typedef int32_t fe[10];
Expand Down
12 changes: 10 additions & 2 deletions src/platform/windows/system/TcpConnection.cpp
Expand Up @@ -12,13 +12,21 @@
#define WIN32_LEAN_AND_MEAN
#endif

// clang-format off
/* Order of includes is important here, because, you know, *windows* ¯\_(ツ)_/¯ */
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#include <winsock2.h>
#include <ws2ipdef.h>
// clang-format on

#include "Dispatcher.h"
#include "ErrorMessage.h"

#include <system/InterruptedException.h>
#include <system/Ipv4Address.h>
#include <winsock2.h>
#include <ws2ipdef.h>

namespace System
{
Expand Down
8 changes: 6 additions & 2 deletions src/platform/windows/system/TcpConnector.cpp
Expand Up @@ -8,18 +8,22 @@
#include <cassert>
#include <stdexcept>

// clang-format off
/* Order of includes is important here, because, you know, *windows* ¯\_(ツ)_/¯ */
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#include <winsock2.h>
#include <mswsock.h>
// clang-format on

#include "Dispatcher.h"
#include "ErrorMessage.h"
#include "TcpConnection.h"

#include <mswsock.h>
#include <system/InterruptedException.h>
#include <system/Ipv4Address.h>
#include <winsock2.h>

namespace System
{
Expand Down
8 changes: 6 additions & 2 deletions src/platform/windows/system/TcpListener.cpp
Expand Up @@ -8,18 +8,22 @@
#include <cassert>
#include <stdexcept>

// clang-format off
/* Order of includes is important here, because, you know, *windows* ¯\_(ツ)_/¯ */
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#include <winsock2.h>
#include <mswsock.h>
// clang-format on

#include "Dispatcher.h"
#include "ErrorMessage.h"
#include "TcpConnection.h"

#include <mswsock.h>
#include <system/InterruptedException.h>
#include <system/Ipv4Address.h>
#include <winsock2.h>

namespace System
{
Expand Down
1 change: 1 addition & 0 deletions src/utilities/ThreadSafeQueue.h
Expand Up @@ -4,6 +4,7 @@

#pragma once

#include <atomic>
#include <condition_variable>
#include <mutex>
#include <queue>
Expand Down
1 change: 1 addition & 0 deletions src/wallet/IFusionManager.h
Expand Up @@ -8,6 +8,7 @@
#include <cstdint>
#include <string>
#include <utility>
#include <vector>

namespace CryptoNote
{
Expand Down

0 comments on commit f387914

Please sign in to comment.