summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/wavfile.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-09-11 16:07:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-09-11 16:09:27 -0400
commit0da505b43eb7e6d9d391efc70f68a752bcdcd643 (patch)
tree38c06fbfded30bc6854a63b3f661d4162acc4d0d /src/lib/formats/wavfile.cpp
parentfae732dc5d3b5ea2f03de3ad7b1f0740c43d7c4e (diff)
Formats-related refactoring
- Remove opresolv.h from emu.h and some other base headers - Split legacy floppy image class into a separate file - Clean up a lot of #includes in src/lib and src/tools/imgtool
Diffstat (limited to 'src/lib/formats/wavfile.cpp')
-rw-r--r--src/lib/formats/wavfile.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/formats/wavfile.cpp b/src/lib/formats/wavfile.cpp
index 74976ef997e..95b6d8bb7c8 100644
--- a/src/lib/formats/wavfile.cpp
+++ b/src/lib/formats/wavfile.cpp
@@ -10,8 +10,11 @@
#include "wavfile.h"
-#include <cstdio>
+#include "osdcomm.h" // little_endianize_int16
+
#include <cassert>
+#include <cstdio>
+#include <cstring>
static const char magic1[4] = { 'R', 'I', 'F', 'F' };
static const char magic2[4] = { 'W', 'A', 'V', 'E' };