]> git.sesse.net Git - vlc/commitdiff
Allow multiple inclusions of "network.h"
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 7 Nov 2004 11:17:37 +0000 (11:17 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 7 Nov 2004 11:17:37 +0000 (11:17 +0000)
include/network.h

index e6eaf40e01c1fcacce3cc23e8a479996e1c024ed..0d475ea47f478c6723b09403ba0c4c65368f1f82 100644 (file)
@@ -22,6 +22,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#ifndef __VLC_NETWORK_H
+# define __VLC_NETWORK_H
 /*****************************************************************************
  * network_socket_t: structure passed to a network plug-in to define the
  *                   kind of socket we want
@@ -253,3 +255,5 @@ VLC_EXPORT( int, net_Printf, ( vlc_object_t *p_this, int fd, v_socket_t *, const
 
 #define net_vaPrintf(a,b,c,d,e) __net_vaPrintf(VLC_OBJECT(a),b,c,d,e)
 VLC_EXPORT( int, __net_vaPrintf, ( vlc_object_t *p_this, int fd, v_socket_t *, const char *psz_fmt, va_list args ) );
+
+#endif