diff --git a/gst/gst_private.h b/gst/gst_private.h index ce65f5c33a..b16242ebaa 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -24,7 +24,9 @@ #define __GST_PRIVATE_H__ #ifdef HAVE_CONFIG_H +# ifndef GST_LICENSE /* don't include config.h twice, it has no guards */ # include "config.h" +# endif #endif /* This needs to be before glib.h, since it might be used in inline diff --git a/gst/gstregistrybinary.h b/gst/gstregistrybinary.h index a6ceab2313..18e150cecd 100644 --- a/gst/gstregistrybinary.h +++ b/gst/gstregistrybinary.h @@ -33,10 +33,6 @@ #include #include -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - /* * GST_MAGIC_BINARY_REGISTRY_STR: *