Avoiding <stdint.h> if not available. Trying to use <inttypes.h> in that case.

This commit is contained in:
2011-01-18 15:47:18 +00:00
parent 2e447207a8
commit 5b386c57a3
5 changed files with 30 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2010 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007-2011 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
@ -23,7 +23,14 @@
#include <sys/time.h>
#include <time.h>
#include <errno.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
/* for -charset */
#include <iconv.h>