]> git.sesse.net Git - vlc/commitdiff
DTV: allow C++ inclusion
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 26 Mar 2011 14:38:17 +0000 (16:38 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 26 Mar 2011 14:38:44 +0000 (16:38 +0200)
modules/access/dtv/dtv.h

index cf94e06f2e450a7501f607c0da34d17f5d3f4a96..a55cf7ff4a3a0f378ab7a58f32df88e738f6166e 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  ****************************************************************************/
 
+#ifndef VLC_DTV_H
+# define VLC_DTV_H 1
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 typedef struct delsys delsys_t;
 
 extern const delsys_t dvbc, dvbs, dvbs2, dvbt, atsc, cqam;
@@ -83,3 +89,7 @@ typedef struct isdbt_sound
 int dvb_set_isdbt (dvb_device_t *, uint32_t freq, const isdbt_layer_t *a,
                    const isdbt_layer_t *b, const isdbt_layer_t *c,
                    const isdbt_sound_t *sb);
+# ifdef __cplusplus
+}
+# endif
+#endif