Commit 563c79a6 authored by Marcel Mol's avatar Marcel Mol Committed by Jean-Baptiste Kempf

Include config.h for all .c files

As many compile time defines are now in config.h it should be
included in all .c files at the top.
(this allows support for large DVDs (>2GB) again.)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent d8279964
......@@ -18,6 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -19,12 +19,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h" /* Required for HAVE_DVDCSS_DVDCSS_H */
#include <stdio.h> /* fprintf */
#include <stdlib.h> /* free */
#include <fcntl.h> /* open */
#include <unistd.h> /* lseek */
#include "config.h" /* Required for HAVE_DVDCSS_DVDCSS_H */
#include "dvdread/dvd_reader.h" /* DVD_VIDEO_LB_LEN */
#include "dvd_input.h"
......
......@@ -20,6 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <sys/types.h> /* off_t */
#include <sys/stat.h> /* stat */
#include <sys/time.h> /* For the timing of dvdcss_title crack. */
......
......@@ -28,6 +28,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
......@@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
......
......@@ -20,6 +20,7 @@
/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. */
#include "config.h"
#include <sys/types.h>
#include <stdlib.h>
......@@ -28,7 +29,6 @@
#include "md5.h"
/* #include "unlocked-io.h" */
#include "config.h"
#ifdef WORDS_BIGENDIAN
# define SWAP(n) \
......
......@@ -23,6 +23,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include <stdio.h>
#include <inttypes.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