summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2019-03-17 11:05:53 +0100
committerMichael Lutz <michi@icosahedron.de>2019-04-06 11:27:39 +0200
commitae748166d06e756a0a6abab582dc341494a9b2da (patch)
treed4c75246740f2e2ddd6978a6b14b17ac84bc27cf /src/music
parent94c5269fa772304112b7c40d2c84794056f87717 (diff)
downloadopenttd-ae748166d06e756a0a6abab582dc341494a9b2da.tar.xz
Codechange: Use platform independent C++11 function for sleeping on a thread.
Diffstat (limited to 'src/music')
-rw-r--r--src/music/extmidi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/music/extmidi.cpp b/src/music/extmidi.cpp
index 9d07761b7..f7fc454df 100644
--- a/src/music/extmidi.cpp
+++ b/src/music/extmidi.cpp
@@ -18,6 +18,7 @@
#include "../gfx_func.h"
#include "extmidi.h"
#include "../base_media_base.h"
+#include "../thread.h"
#include "midifile.hpp"
#include <fcntl.h>
#include <sys/types.h>