config.h has to come first else _FILE_OFFSET_BITS are redefined in say opensolaris. Part 2 of patch from Thomas Schmitt

This commit is contained in:
R. Bernstein
2010-05-30 22:29:09 -04:00
parent efdd4e8179
commit f4462b558d
6 changed files with 30 additions and 16 deletions

View File

@@ -16,15 +16,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* config.h has to come first else _FILE_OFFSET_BITS are redefined in
say opensolaris. */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <cdio/cdio.h>
/* Test media changed */
#include <stdio.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif