]> git.sesse.net Git - vlc/blobdiff - include/network.h
* added x264 and live to the linux target
[vlc] / include / network.h
index 52368f1cbf854f6b84acd402a6ec658a3181b08d..81626f453320c94cce884fedf93b617e378bd7a0 100644 (file)
@@ -47,6 +47,9 @@
 #   include <netdb.h>
 #endif
 
+# ifdef __cplusplus
+extern "C" {
+# endif
 
 /*****************************************************************************
  * network_socket_t: structure passed to a network plug-in to define the
@@ -551,4 +554,8 @@ static inline int net_GetPeerAddress( int fd, char *address, int *port )
         ? VLC_EGENERIC : 0;
 }
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif