summaryrefslogtreecommitdiff
path: root/plugins
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:35 +0100
commit65bf6cf8610ed8e9541db6df3060ab390002ef36 (patch)
treec26929c7d4a5157df17a723fa0732048ef5fdf85 /plugins
parent4d12a12570876810d0376d31b280674b5c49054a (diff)
few fixes to compile on non-linux plaftorms
Diffstat (limited to 'plugins')
-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 e6dfb7ce..2b33d8ce 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"