]> git.sesse.net Git - vlc/blobdiff - src/input/input_ext-plugins.c
* various little portability fixes
[vlc] / src / input / input_ext-plugins.c
index 95f87969f0887a69a7f125f7ce6675c6cbc8772e..4e7d20560094b109658b6a477709b1458d57e097 100644 (file)
@@ -2,7 +2,7 @@
  * input_ext-plugins.c: useful functions for access and demux plug-ins
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: input_ext-plugins.c,v 1.2 2002/03/02 03:53:55 xav Exp $
+ * $Id: input_ext-plugins.c,v 1.3 2002/03/26 23:08:40 gbazin Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
  * Preamble
  *****************************************************************************/
 #include <stdlib.h>
-#include <sys/time.h>
+
+#ifdef HAVE_SYS_TIME_H
+#    include <sys/time.h>
+#endif
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <string.h>