videoscale: Fix compiler errors caused by not including config.h
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 2 Mar 2013 18:29:40 +0000 (19:29 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 2 Mar 2013 18:29:40 +0000 (19:29 +0100)
_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
gst/videoscale/vs_fill_borders.c
gst/videoscale/vs_image.c
gst/videoscale/vs_lanczos.c
gst/videoscale/vs_scanline.c

index 4377fd7..b770d8f 100644 (file)
@@ -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"
index 0c5bba4..2a12d23 100644 (file)
@@ -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
index 815ad16..bcd0d98 100644 (file)
@@ -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 <string.h>
 
index 67cd401..929a763 100644 (file)
  * the strength of the sharpening filter.
  *
  */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <string.h>
 
 #include "vs_scanline.h"
index fc66d5e..f34581e 100644 (file)
@@ -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"