* Don't use long long, use u64/s64 (int_types.h).
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.44 2001/10/31 11:55:53 reno Exp $
+ * $Id: common.h,v 1.45 2001/11/07 22:58:13 jlj Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
#endif
#if defined( WIN32 )
-# ifndef _OFF_T_DEFINED
-typedef __int64 off_t;
-# define _OFF_T_DEFINED
-# endif
# ifndef snprintf
# define snprintf _snprintf /* snprintf not defined in mingw32 (bug?) */
# endif
* input_dummy.c: dummy input plugin, to manage "vlc:***" special options
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: input_dummy.c,v 1.5 2001/08/09 08:20:26 sam Exp $
+ * $Id: input_dummy.c,v 1.6 2001/11/07 22:58:13 jlj Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
#include "defs.h"
#include <stdlib.h>
+#include <sys/types.h>
#include <string.h>
#include <errno.h>
* aout_common.h: audio output inner functions
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: aout_common.h,v 1.5 2001/11/01 00:29:54 asmax Exp $
+ * $Id: aout_common.h,v 1.6 2001/11/07 22:58:13 jlj Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
*
mtime_t aout_date )
{
long l_units, l_rate;
- long long l_delta;
+ u64 l_delta;
/* We take the lock */
vlc_mutex_lock( &p_fifo->data_lock );
* decoders.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: input.c,v 1.150 2001/11/06 17:12:02 massiot Exp $
+ * $Id: input.c,v 1.151 2001/11/07 22:58:13 jlj Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
#endif
#ifdef WIN32
-# include <winsock.h>
# include <winsock2.h>
#elif !defined( SYS_BEOS ) && !defined( SYS_NTO )
# include <netdb.h> /* hostent ... */
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
-# include <sys/types.h>
-# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_TIMES_H