Skip to content

Commit 9e188f2

Browse files
committed
Try to fix Mac build.
1 parent df57f48 commit 9e188f2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/coreUtils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
#include <string>
1111

12-
#include "config.h"
1312
#include "osara.h"
13+
#include "config.h"
1414

1515
using namespace std;
1616

src/osara.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#ifndef _OSARA_H
99
#define _OSARA_H
1010

11+
// We need to include sstream first to avoid issues with SWELL.
12+
#include <sstream>
1113
#ifdef _WIN32
1214
# include <windows.h>
1315
#else
@@ -17,10 +19,9 @@
1719
# include <windows.h>
1820
# pragma clang diagnostic pop
1921
#endif
22+
#include <string>
2023
#include <functional>
2124
#include <memory>
22-
#include <string>
23-
#include <sstream>
2425

2526
#define REAPERAPI_MINIMAL
2627
#define REAPERAPI_WANT_GetLastTouchedTrack

0 commit comments

Comments
 (0)