diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-19 03:32:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-19 03:32:50 +0100 |
commit | 60a2c74b5925fecadcf95def71d490389f5632c7 (patch) | |
tree | b632033e11f66508eacef7b1e7ad74d8b052733f /src | |
parent | b3262f7b55fc377f842bec243702fe9106168553 (diff) |
gstreamer: add missing unistd.h inclusion
Diffstat (limited to 'src')
-rw-r--r-- | src/gstreamer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gstreamer.c b/src/gstreamer.c index f797984..54919ea 100644 --- a/src/gstreamer.c +++ b/src/gstreamer.c @@ -31,6 +31,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <unistd.h> #include <gst/gst.h> @@ -285,7 +286,7 @@ static int ca_gst_sound_file_open(ca_sound_file **_f, const char *fn) { if (!(f->fdsrc = gst_element_factory_make("fdsrc", NULL))) { close(fd); ca_free(f); - return CA_ERROR_OOM; + return CA_ERROR_OOM; } g_object_set(GST_OBJECT(f->fdsrc), "fd", fd, NULL); |