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

@@ -18,14 +18,16 @@
/* Simple program to show using libcdio's version of the CD-DA paranoia.
library. */
#include <cdio/paranoia.h>
#include <cdio/cd_types.h>
#include <stdio.h>
/* 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/paranoia.h>
#include <cdio/cd_types.h>
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif