summaryrefslogtreecommitdiff
path: root/libs/gst/check/libcheck/check_log.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-12-14 12:54:32 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-12-16 16:32:39 +0100
commit0b09573bbec99a2474d5ff41e2cf1be8147ecd60 (patch)
treec31122d36ffd6a0fd54afb60e4410bde4ebcca80 /libs/gst/check/libcheck/check_log.c
parenta8d665303757db75da32aebbd2a5d9716e9c528a (diff)
check: Have autotools generate internal-check.h
Previously GStreamer got access to the libcheck interface by including libs/gst/check/check.h which in turn included internal-check.h in the same directory. internal-check.h was generated by copying libs/gst/check/libcheck/check.h which in turn was generated from check.h.in in the same directory. In this case generating libs/gst/check/libcheck/check.h is unnecessary, in addition this file was accidentally distributed in generated project tarballs. Now libs/gst/check/internal-check.h is generated directly from libs/gst/check/libcheck/check.h.in by configure. This means that the libcheck source must include internal-check.h instead of the previously generated libs/gst/check/libcheck/check.h. However the unnecessary intermediate step is now skipped. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741359
Diffstat (limited to 'libs/gst/check/libcheck/check_log.c')
-rw-r--r--libs/gst/check/libcheck/check_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/check/libcheck/check_log.c b/libs/gst/check/libcheck/check_log.c
index 9f90b9c4b..ad5bb7955 100644
--- a/libs/gst/check/libcheck/check_log.c
+++ b/libs/gst/check/libcheck/check_log.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
#include <stdio.h>
-#include <check.h>
+#include <internal-check.h>
#if ENABLE_SUBUNIT
#include <subunit/child.h>
#endif