Commit e4aec3d8 authored by Stéphane Borel's avatar Stéphane Borel

-Fixed a bug in #define that prevented from using ioctls

parent 6b14a375
......@@ -2,7 +2,7 @@
* 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: Stphane Borel <stef@via.ecp.fr>
*
......@@ -33,7 +33,7 @@
#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
......@@ -268,7 +268,7 @@ unsigned char pi_css_tab5[256]=
/*****************************************************************************
* CSSGetASF : Get Authentification success flag
*****************************************************************************/
int CSSGetASF( int i_fd )
static int CSSGetASF( int i_fd )
{
dvd_authinfo ai;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment