]> 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 b1259ae9942dbcf882e627a6c1f17520b0f09f1f..b32c919f041adf1414a1565755d1c8e4700f80b7 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
@@ -243,3 +245,5 @@ VLC_EXPORT( int, net_Printf, ( vlc_object_t *p_this, int fd, const char *psz_fmt
 
 #define net_vaPrintf(a,b,c,d) __net_vaPrintf(VLC_OBJECT(a),b,c,d)
 VLC_EXPORT( int, __net_vaPrintf, ( vlc_object_t *p_this, int fd, const char *psz_fmt, va_list args ) );
+
+#endif