commit dd98cb22a46fd0c1334355e0aadc38151d57c12c
parent 57839f49f923dde8ab0df5f74003ae39a597815e
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Mon, 27 Aug 2012 21:03:31 -0700
win: Fix compilation
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/spek-window.cc b/src/spek-window.cc
@@ -16,8 +16,6 @@
* along with Spek. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <pthread.h>
-
#include <wx/aboutdlg.h>
#include <wx/artprov.h>
#include <wx/dnd.h>
@@ -25,6 +23,9 @@
#include <wx/protocol/http.h>
#include <wx/sstream.h>
+// WX on WIN doesn't like it when pthread.h is included first.
+#include <pthread.h>
+
#include "spek-preferences-dialog.hh"
#include "spek-preferences.hh"
#include "spek-spectrogram.hh"