Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
14e121af
Commit
14e121af
authored
Nov 24, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flac, mpc, ogg, wavpack: include unistd.h for SEEK_SET
SEEK_SET is defined by unistd.h. Explicitly include it.
parent
acbfba06
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
0 deletions
+5
-0
flac_plugin.c
src/decoder/flac_plugin.c
+1
-0
mpc_plugin.c
src/decoder/mpc_plugin.c
+1
-0
oggflac_plugin.c
src/decoder/oggflac_plugin.c
+1
-0
oggvorbis_plugin.c
src/decoder/oggvorbis_plugin.c
+1
-0
wavpack_plugin.c
src/decoder/wavpack_plugin.c
+1
-0
No files found.
src/decoder/flac_plugin.c
View file @
14e121af
...
...
@@ -19,6 +19,7 @@
#include "_flac_common.h"
#include <assert.h>
#include <unistd.h>
/* this code was based on flac123, from flac-tools */
...
...
src/decoder/mpc_plugin.c
View file @
14e121af
...
...
@@ -20,6 +20,7 @@
#include <mpcdec/mpcdec.h>
#include <glib.h>
#include <unistd.h>
typedef
struct
_MpcCallbackData
{
struct
input_stream
*
inStream
;
...
...
src/decoder/oggflac_plugin.c
View file @
14e121af
...
...
@@ -23,6 +23,7 @@
#include "_ogg_common.h"
#include <OggFLAC/seekable_stream_decoder.h>
#include <unistd.h>
static
void
oggflac_cleanup
(
FlacData
*
data
,
OggFLAC__SeekableStreamDecoder
*
decoder
)
...
...
src/decoder/oggvorbis_plugin.c
View file @
14e121af
...
...
@@ -38,6 +38,7 @@
#include <glib.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#ifdef WORDS_BIGENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1
...
...
src/decoder/wavpack_plugin.c
View file @
14e121af
...
...
@@ -24,6 +24,7 @@
#include <wavpack/wavpack.h>
#include <glib.h>
#include <unistd.h>
/* pick 1020 since its devisible for 8,16,24, and 32-bit audio */
#define CHUNK_SIZE 1020
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment