* dvd_css.c: Functions for DVD authentification and unscrambling
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: dvd_css.c,v 1.4 2001/02/09 03:51:42 stef Exp $
+ * $Id: dvd_css.c,v 1.5 2001/02/09 18:34:01 stef Exp $
*
* Author: Stéphane Borel <stef@via.ecp.fr>
*
#include <string.h>
#include <fcntl.h>
#include <netinet/in.h>
-#ifdef HAVE_IOCTL_H
+#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#ifdef HAVE_SYS_DVDIO_H
/*****************************************************************************
* CSSGetASF : Get Authentification success flag
*****************************************************************************/
-int CSSGetASF( int i_fd )
+static int CSSGetASF( int i_fd )
{
dvd_authinfo ai;