diff options
-rw-r--r-- | modules/aufile/aufile.c | 2 | ||||
-rw-r--r-- | modules/avformat/avformat.c | 1 | ||||
-rw-r--r-- | modules/cairo/cairo.c | 1 | ||||
-rw-r--r-- | modules/fakevideo/fakevideo.c | 1 | ||||
-rw-r--r-- | modules/gst_video/encode.c | 2 | ||||
-rw-r--r-- | modules/rst/audio.c | 2 | ||||
-rw-r--r-- | modules/rst/video.c | 2 | ||||
-rw-r--r-- | modules/snapshot/png_vf.c | 1 | ||||
-rw-r--r-- | modules/v4l/v4l.c | 1 | ||||
-rw-r--r-- | modules/v4l2/v4l2.c | 1 | ||||
-rw-r--r-- | modules/vidloop/vidloop.c | 1 | ||||
-rw-r--r-- | modules/x11grab/x11grab.c | 1 | ||||
-rw-r--r-- | src/audio.c | 1 | ||||
-rw-r--r-- | src/conf.c | 1 |
14 files changed, 14 insertions, 4 deletions
diff --git a/modules/aufile/aufile.c b/modules/aufile/aufile.c index 0fc9faa..9422b7a 100644 --- a/modules/aufile/aufile.c +++ b/modules/aufile/aufile.c @@ -3,7 +3,7 @@ * * Copyright (C) 2015 Creytiv.com */ - +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <pthread.h> #include <re.h> diff --git a/modules/avformat/avformat.c b/modules/avformat/avformat.c index 8424707..cabb103 100644 --- a/modules/avformat/avformat.c +++ b/modules/avformat/avformat.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 - 2015 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #include <string.h> diff --git a/modules/cairo/cairo.c b/modules/cairo/cairo.c index 7ca83b1..438e654 100644 --- a/modules/cairo/cairo.c +++ b/modules/cairo/cairo.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #include <pthread.h> diff --git a/modules/fakevideo/fakevideo.c b/modules/fakevideo/fakevideo.c index 2c85372..c750814 100644 --- a/modules/fakevideo/fakevideo.c +++ b/modules/fakevideo/fakevideo.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #include <pthread.h> diff --git a/modules/gst_video/encode.c b/modules/gst_video/encode.c index 948b98a..8abe017 100644 --- a/modules/gst_video/encode.c +++ b/modules/gst_video/encode.c @@ -4,7 +4,7 @@ * Copyright (C) 2010 - 2013 Creytiv.com * Copyright (C) 2014 Fadeev Alexander */ - +#define _DEFAULT_SOURCE 1 #define __USE_POSIX199309 #define _BSD_SOURCE 1 #include <stdlib.h> diff --git a/modules/rst/audio.c b/modules/rst/audio.c index f6dd4e8..8dc5175 100644 --- a/modules/rst/audio.c +++ b/modules/rst/audio.c @@ -3,7 +3,7 @@ * * Copyright (C) 2011 Creytiv.com */ - +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <pthread.h> #include <fcntl.h> diff --git a/modules/rst/video.c b/modules/rst/video.c index 139c9f7..b252504 100644 --- a/modules/rst/video.c +++ b/modules/rst/video.c @@ -3,7 +3,7 @@ * * Copyright (C) 2011 Creytiv.com */ - +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <pthread.h> #include <string.h> diff --git a/modules/snapshot/png_vf.c b/modules/snapshot/png_vf.c index d7f1f8a..6c5c18a 100644 --- a/modules/snapshot/png_vf.c +++ b/modules/snapshot/png_vf.c @@ -4,6 +4,7 @@ * Author: Doug Blewett * Review: Alfred E. Heggestad */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <string.h> #include <time.h> diff --git a/modules/v4l/v4l.c b/modules/v4l/v4l.c index e6842b1..46d4ca7 100644 --- a/modules/v4l/v4l.c +++ b/modules/v4l/v4l.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #include <stdlib.h> diff --git a/modules/v4l2/v4l2.c b/modules/v4l2/v4l2.c index 0dbad00..b450a9e 100644 --- a/modules/v4l2/v4l2.c +++ b/modules/v4l2/v4l2.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #include <stdlib.h> diff --git a/modules/vidloop/vidloop.c b/modules/vidloop/vidloop.c index ff38281..9d05618 100644 --- a/modules/vidloop/vidloop.c +++ b/modules/vidloop/vidloop.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <string.h> #include <time.h> diff --git a/modules/x11grab/x11grab.c b/modules/x11grab/x11grab.c index 1ab88ed..ecbcba5 100644 --- a/modules/x11grab/x11grab.c +++ b/modules/x11grab/x11grab.c @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <unistd.h> #ifndef SOLARIS diff --git a/src/audio.c b/src/audio.c index 78e3a9b..c8996f2 100644 --- a/src/audio.c +++ b/src/audio.c @@ -4,6 +4,7 @@ * Copyright (C) 2010 Creytiv.com * \ref GenericAudioStream */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <string.h> #include <stdlib.h> @@ -3,6 +3,7 @@ * * Copyright (C) 2010 Creytiv.com */ +#define _DEFAULT_SOURCE 1 #define _BSD_SOURCE 1 #include <fcntl.h> #ifdef HAVE_UNISTD_H |