diff --git a/gst/gl/gstgl_nvimage.c b/gst/gl/gstgl_nvimage.c index 79caf2be6c..84a1ad95c0 100644 --- a/gst/gl/gstgl_nvimage.c +++ b/gst/gl/gstgl_nvimage.c @@ -1,4 +1,6 @@ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors diff --git a/gst/gl/gstgl_pdrimage.c b/gst/gl/gstgl_pdrimage.c index 00df9a60a3..3cc5c57f7b 100644 --- a/gst/gl/gstgl_pdrimage.c +++ b/gst/gl/gstgl_pdrimage.c @@ -1,4 +1,6 @@ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors diff --git a/gst/gl/gstglsink.c b/gst/gl/gstglsink.c index 3e1e56ceed..21cac1f36e 100644 --- a/gst/gl/gstglsink.c +++ b/gst/gl/gstglsink.c @@ -25,7 +25,9 @@ _chain, -get, _loop */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include