From 5a58f8b9ec936b88170075e989391d4df5b5c42d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 2 Mar 2013 19:29:40 +0100 Subject: [PATCH] videoscale: Fix compiler errors caused by not including config.h _stdint.h requires config.h to be included to properly use the correct code to get uint8_t and friends. --- gst/videoscale/vs_4tap.c | 3 +++ gst/videoscale/vs_fill_borders.c | 1 - gst/videoscale/vs_image.c | 3 +++ gst/videoscale/vs_lanczos.c | 4 ++++ gst/videoscale/vs_scanline.c | 3 +++ 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gst/videoscale/vs_4tap.c b/gst/videoscale/vs_4tap.c index 4377fd7..b770d8f 100644 --- a/gst/videoscale/vs_4tap.c +++ b/gst/videoscale/vs_4tap.c @@ -25,6 +25,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "vs_image.h" #include "vs_scanline.h" diff --git a/gst/videoscale/vs_fill_borders.c b/gst/videoscale/vs_fill_borders.c index 0c5bba4..2a12d23 100644 --- a/gst/videoscale/vs_fill_borders.c +++ b/gst/videoscale/vs_fill_borders.c @@ -24,7 +24,6 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/videoscale/vs_image.c b/gst/videoscale/vs_image.c index 815ad16..bcd0d98 100644 --- a/gst/videoscale/vs_image.c +++ b/gst/videoscale/vs_image.c @@ -24,6 +24,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include diff --git a/gst/videoscale/vs_lanczos.c b/gst/videoscale/vs_lanczos.c index 67cd401..929a763 100644 --- a/gst/videoscale/vs_lanczos.c +++ b/gst/videoscale/vs_lanczos.c @@ -114,6 +114,10 @@ * the strength of the sharpening filter. * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "vs_scanline.h" diff --git a/gst/videoscale/vs_scanline.c b/gst/videoscale/vs_scanline.c index fc66d5e..f34581e 100644 --- a/gst/videoscale/vs_scanline.c +++ b/gst/videoscale/vs_scanline.c @@ -24,6 +24,9 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "vs_scanline.h" -- 2.7.4