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

@@ -26,11 +26,14 @@
#define ISO9660_IMAGE_PATH "/tmp/"
#define ISO9660_IMAGE ISO9660_IMAGE_PATH "vcd_demo.bin"
/* portable.h has to come first else _FILE_OFFSET_BITS are redefined in
say opensolaris. */
#include "portable.h"
#include <sys/types.h>
#include <cdio/cdio.h>
#include <cdio/iso9660.h>
#include "portable.h"
#include <stdio.h>
#ifdef HAVE_ERRNO_H