summaryrefslogtreecommitdiff
path: root/plugins/sndfile
diff options
context:
space:
mode:
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"