tests: include config.h and don't include unix headers
[platform/upstream/gstreamer.git] / tests / check / elements / queue.c
index 8619909..50f2896 100644 (file)
@@ -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>