diff --git a/gst/gdp/dataprotocol.h b/gst/gdp/dataprotocol.h index 76b1d62a1e..41e7feeb4f 100644 --- a/gst/gdp/dataprotocol.h +++ b/gst/gdp/dataprotocol.h @@ -20,6 +20,7 @@ * Boston, MA 02111-1307, USA. */ +#ifdef GST_ENABLE_NEW #ifndef __GST_DATA_PROTOCOL_H__ #define __GST_DATA_PROTOCOL_H__ @@ -98,3 +99,5 @@ gboolean gst_dp_validate_packet (guint header_length, G_END_DECLS #endif /* __GST_DATA_PROTOCOL_H__ */ +#endif /* GST_ENABLE_NEW */ +