shithub: sox

Download patch

ref: e9268909efe3a3124e4a6d1586c776ec7c8e2bc2
parent: 08286bbf24bdc732e78975cc0dccdc8884a5063b
author: Ulrich Klauer <ulrich@chirlu.de>
date: Sun Mar 3 16:16:57 EST 2013

Add missing includes

--- a/src/spectrogram.c
+++ b/src/spectrogram.c
@@ -30,6 +30,12 @@
 #endif
 #include <zlib.h>
 
+/* For SET_BINARY_MODE: */
+#include <fcntl.h>
+#ifdef HAVE_IO_H
+  #include <io.h>
+#endif
+
 #define MAX_FFT_SIZE 4096
 #define is_p2(x) !(x & (x - 1))