More pbatard patches

This commit is contained in:
R. Bernstein
2012-03-04 14:49:33 -05:00
parent 89fae13500
commit ebcc891306
3 changed files with 19 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/* /*
Copyright (C) 2003, 2004, 2005, 2008, 2011 Copyright (C) 2003, 2004, 2005, 2008, 2011, 2012
Rocky Bernstein <rocky@gnu.org> Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
@@ -25,11 +25,15 @@
# define __CDIO_CONFIG_H__ 1 # define __CDIO_CONFIG_H__ 1
#endif #endif
#include <stdio.h>
#include <sys/types.h>
#include <cdio/cdio.h> #include <cdio/cdio.h>
#include <cdio/logging.h> #include <cdio/logging.h>
#include <cdio/iso9660.h> #include <cdio/iso9660.h>
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif #endif

View File

@@ -1,5 +1,5 @@
/* -*- C -*- /* -*- C -*-
Copyright (C) 2010 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2010, 2012 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -22,8 +22,6 @@
# include "config.h" # include "config.h"
# define __CDIO_CONFIG_H__ 1 # define __CDIO_CONFIG_H__ 1
#endif #endif
#include <cdio/cdio.h>
#include <cdio/logging.h>
#ifdef HAVE_STDIO_H #ifdef HAVE_STDIO_H
# include <stdio.h> # include <stdio.h>
@@ -34,7 +32,12 @@
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
# include <stdlib.h> # include <stdlib.h>
#endif #endif
#ifdef HAVE_STRING_H
# include <string.h> # include <string.h>
#endif
#include <cdio/cdio.h>
#include <cdio/logging.h>
int int
main(int argc, const char *argv[]) main(int argc, const char *argv[])

View File

@@ -22,8 +22,6 @@
# include "config.h" # include "config.h"
# define __CDIO_CONFIG_H__ 1 # define __CDIO_CONFIG_H__ 1
#endif #endif
#include <cdio/cdio.h>
#include <cdio/logging.h>
#ifdef HAVE_STDIO_H #ifdef HAVE_STDIO_H
#include <stdio.h> #include <stdio.h>
@@ -38,6 +36,8 @@
#include <string.h> #include <string.h>
#endif #endif
#include <cdio/cdio.h>
#include <cdio/logging.h>
#include "helper.h" #include "helper.h"
int int