tests: include config.h and don't include unix headers
authorTim-Philipp Müller <tim@centricular.com>
Tue, 16 Jan 2018 18:14:59 +0000 (18:14 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Jan 2018 18:14:59 +0000 (18:14 +0000)
commit3f184c3abc553a44dcdf17c10563b330b560bdf8
tree237967518b4f82f9ffeab6b2dd176bb8945a1e8d
parent0ffc2015aaabbce918b6965eef02704eb7755ef0
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.
36 files changed:
tests/check/elements/adder.c
tests/check/elements/appsink.c
tests/check/elements/audioconvert.c
tests/check/elements/audioresample.c
tests/check/elements/audiotestsrc.c
tests/check/elements/decodebin.c
tests/check/elements/libvisual.c
tests/check/elements/multisocketsink.c
tests/check/elements/opus.c
tests/check/elements/playbin.c
tests/check/elements/rawaudioparse.c
tests/check/elements/rawvideoparse.c
tests/check/elements/textoverlay.c
tests/check/elements/videorate.c
tests/check/elements/videotestsrc.c
tests/check/elements/volume.c
tests/check/elements/vorbisdec.c
tests/check/elements/vorbistag.c
tests/check/generic/clock-selection.c
tests/check/generic/states.c
tests/check/libs/audiocdsrc.c
tests/check/libs/libsabi.c
tests/check/libs/pbutils.c
tests/check/libs/profile.c
tests/check/libs/rtpbasedepayload.c
tests/check/libs/rtpbasepayload.c
tests/check/libs/rtspconnection.c
tests/check/libs/video.c
tests/check/meson.build
tests/check/pipelines/capsfilter-renegotiation.c
tests/check/pipelines/gio.c
tests/check/pipelines/streamsynchronizer.c
tests/check/pipelines/tcp.c
tests/check/pipelines/theoraenc.c
tests/check/pipelines/vorbisdec.c
tests/check/pipelines/vorbisenc.c