diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-25 21:31:42 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-06-25 21:31:42 +0200 |
commit | a5abb32ab258d9158ee982ef1b2ca4765914cf8a (patch) | |
tree | ff94790139cf4d124373e60e11ef9c2680aaf2b1 /junklib.c | |
parent | 14076372670c6a8141b02ae84531468383dbf876 (diff) |
junklib: O_LARGEFILE fix for bsd
Diffstat (limited to 'junklib.c')
-rw-r--r-- | junklib.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |