diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-01-16 18:14:59 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-01-16 18:14:59 +0000 |
commit | 3f184c3abc553a44dcdf17c10563b330b560bdf8 (patch) | |
tree | 237967518b4f82f9ffeab6b2dd176bb8945a1e8d /tests/check/elements/vorbisdec.c | |
parent | 0ffc2015aaabbce918b6965eef02704eb7755ef0 (diff) |
tests: include config.h and don't include unix headers
In many cases the unistd.h includes weren't actually needed.
Don't build tests that need it on windows with MSVC
(multifdsink, multisocketsink, pipelines/tcp).
Preparation for making tests work on Windows with MSVC.
Diffstat (limited to 'tests/check/elements/vorbisdec.c')
-rw-r--r-- | tests/check/elements/vorbisdec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/check/elements/vorbisdec.c b/tests/check/elements/vorbisdec.c index 456495283..b18f97b19 100644 --- a/tests/check/elements/vorbisdec.c +++ b/tests/check/elements/vorbisdec.c @@ -19,8 +19,9 @@ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ - -#include <unistd.h> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <gst/check/gstcheck.h> |