summaryrefslogtreecommitdiff
path: root/plugins/sndfile
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-21 22:07:23 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-21 22:08:06 +0100
commit0b9fbc68d060da006b68b44b690ccc9e826c851b (patch)
tree675876e24f0c6fc768115fcfb4c1aeb265e498c3 /plugins/sndfile
parent454f852f361477b0f365a9705574a700339497ac (diff)
few fixes to compile on non-linux plaftorms
Diffstat (limited to 'plugins/sndfile')
-rw-r--r--plugins/sndfile/sndfile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sndfile/sndfile.c b/plugins/sndfile/sndfile.c
index 0202439e..d44b8e16 100644
--- a/plugins/sndfile/sndfile.c
+++ b/plugins/sndfile/sndfile.c
@@ -16,6 +16,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#ifndef __linux__
+#define _LARGEFILE64_SOURCE
+#endif
#include <string.h>
#include <sndfile.h>
#include "../../deadbeef.h"