Commit 5b15af4f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DVB: useless includes

parent 75099163
...@@ -36,12 +36,6 @@ ...@@ -36,12 +36,6 @@
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_access.h> #include <vlc_access.h>
#include <vlc_input.h> #include <vlc_input.h>
#include <vlc_interface.h>
#include <vlc_fs.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include <poll.h> #include <poll.h>
...@@ -58,10 +52,6 @@ ...@@ -58,10 +52,6 @@
# include <dvbpsi/demux.h> # include <dvbpsi/demux.h>
# include <dvbpsi/sdt.h> # include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
#endif
#include "dvb.h" #include "dvb.h"
/***************************************************************************** /*****************************************************************************
......
...@@ -26,14 +26,6 @@ ...@@ -26,14 +26,6 @@
#include "scan.h" #include "scan.h"
/*****************************************************************************
* Devices location
*****************************************************************************/
#define DMX "/dev/dvb/adapter%d/demux%d"
#define FRONTEND "/dev/dvb/adapter%d/frontend%d"
#define DVR "/dev/dvb/adapter%d/dvr%d"
#define CA "/dev/dvb/adapter%d/ca%d"
/***************************************************************************** /*****************************************************************************
* Local structures * Local structures
*****************************************************************************/ *****************************************************************************/
......
...@@ -28,20 +28,16 @@ ...@@ -28,20 +28,16 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_access.h> #include <vlc_access.h>
#include <vlc_charset.h>
#include <sys/ioctl.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <sys/types.h>
#include <sys/ioctl.h>
#include <poll.h> #include <poll.h>
#include <netinet/in.h> #include <netinet/in.h>
/* DVB Card Drivers */ /* DVB Card Drivers */
#include <linux/dvb/version.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
#include <linux/dvb/ca.h> #include <linux/dvb/ca.h>
/* Include dvbpsi headers */ /* Include dvbpsi headers */
...@@ -60,8 +56,6 @@ ...@@ -60,8 +56,6 @@
#include "dvb.h" #include "dvb.h"
#include <vlc_charset.h>
#undef DEBUG_TPDU #undef DEBUG_TPDU
#define HLCI_WAIT_CAM_READY 0 #define HLCI_WAIT_CAM_READY 0
#define CAM_PROG_MAX MAX_PROGRAMS #define CAM_PROG_MAX MAX_PROGRAMS
......
...@@ -28,12 +28,11 @@ ...@@ -28,12 +28,11 @@
# include "config.h" # include "config.h"
#endif #endif
#ifdef ENABLE_HTTPD
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_access.h> #include <vlc_access.h>
#include <vlc_httpd.h>
#ifdef HAVE_UNISTD_H #include <vlc_acl.h>
# include <unistd.h>
#endif
#include <sys/types.h> #include <sys/types.h>
...@@ -47,14 +46,8 @@ ...@@ -47,14 +46,8 @@
# include <dvbpsi/demux.h> # include <dvbpsi/demux.h>
# include <dvbpsi/sdt.h> # include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
# include <vlc_acl.h>
#endif
#include "dvb.h" #include "dvb.h"
#ifdef ENABLE_HTTPD
struct httpd_file_sys_t struct httpd_file_sys_t
{ {
access_t *p_access; access_t *p_access;
......
...@@ -31,15 +31,14 @@ ...@@ -31,15 +31,14 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_access.h> #include <vlc_access.h>
#include <sys/ioctl.h> #include <vlc_fs.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h> #include <fcntl.h>
#include <time.h>
#include <unistd.h> #include <unistd.h>
#include <poll.h> #include <poll.h>
#include <vlc_fs.h>
/* DVB Card Drivers */ /* DVB Card Drivers */
#include <linux/dvb/version.h> #include <linux/dvb/version.h>
...@@ -63,6 +62,11 @@ ...@@ -63,6 +62,11 @@
#include "dvb.h" #include "dvb.h"
#define DMX "/dev/dvb/adapter%d/demux%d"
#define FRONTEND "/dev/dvb/adapter%d/frontend%d"
#define DVR "/dev/dvb/adapter%d/dvr%d"
#define CA "/dev/dvb/adapter%d/ca%d"
/* /*
* Frontends * Frontends
*/ */
......
...@@ -29,17 +29,11 @@ ...@@ -29,17 +29,11 @@
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_block.h>
#include <vlc_access.h>
#include <vlc_dialog.h> #include <vlc_dialog.h>
#include <vlc_fs.h> #include <vlc_fs.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include <poll.h>
/* Include dvbpsi headers */ /* Include dvbpsi headers */
# include <dvbpsi/dvbpsi.h> # include <dvbpsi/dvbpsi.h>
...@@ -51,10 +45,6 @@ ...@@ -51,10 +45,6 @@
# include <dvbpsi/demux.h> # include <dvbpsi/demux.h>
# include <dvbpsi/sdt.h> # include <dvbpsi/sdt.h>
#ifdef ENABLE_HTTPD
# include <vlc_httpd.h>
#endif
#include "dvb.h" #include "dvb.h"
/* */ /* */
......
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