summaryrefslogtreecommitdiff
path: root/junklib.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-25 21:31:42 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2014-06-25 21:31:42 +0200
commita5abb32ab258d9158ee982ef1b2ca4765914cf8a (patch)
treeff94790139cf4d124373e60e11ef9c2680aaf2b1 /junklib.c
parent14076372670c6a8141b02ae84531468383dbf876 (diff)
junklib: O_LARGEFILE fix for bsd
Diffstat (limited to 'junklib.c')
-rw-r--r--junklib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/junklib.c b/junklib.c
index e62c848c..a8531248 100644
--- a/junklib.c
+++ b/junklib.c
@@ -51,6 +51,9 @@ uint16_t sj_to_unicode[] = {
#include <unistd.h>
#include <assert.h>
#include <fcntl.h>
+#ifndef __linux__
+#define O_LARGEFILE 0
+#endif
#include <sys/stat.h>
#include "playlist.h"
#include "utf8.h"