From 0d426a755fd9571ad6e01c254b2327bc56e1c776 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 18 Jan 2011 15:47:18 +0000 Subject: [PATCH] Avoiding if not available. Trying to use in that case. --- libisoburn/trunk/xorriso/base_obj.c | 7 +++++++ libisoburn/trunk/xorriso/lib_mgt.c | 9 ++++++++- libisoburn/trunk/xorriso/write_run.c | 9 ++++++++- libisoburn/trunk/xorriso/xorriso_private.h | 6 ++++++ libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) diff --git a/libisoburn/trunk/xorriso/base_obj.c b/libisoburn/trunk/xorriso/base_obj.c index f08c0b84..cee32ae7 100644 --- a/libisoburn/trunk/xorriso/base_obj.c +++ b/libisoburn/trunk/xorriso/base_obj.c @@ -25,7 +25,14 @@ #include #include #include + +#ifdef HAVE_STDINT_H #include +#else +#ifdef HAVE_INTTYPES_H +#include +#endif +#endif #ifdef Xorriso_standalonE diff --git a/libisoburn/trunk/xorriso/lib_mgt.c b/libisoburn/trunk/xorriso/lib_mgt.c index 4a98813a..ce49f8bf 100644 --- a/libisoburn/trunk/xorriso/lib_mgt.c +++ b/libisoburn/trunk/xorriso/lib_mgt.c @@ -1,7 +1,7 @@ /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. - Copyright 2007-2010 Thomas Schmitt, + Copyright 2007-2011 Thomas Schmitt, Provided under GPL version 2 or later. @@ -23,7 +23,14 @@ #include #include #include + +#ifdef HAVE_STDINT_H #include +#else +#ifdef HAVE_INTTYPES_H +#include +#endif +#endif /* for -charset */ #include diff --git a/libisoburn/trunk/xorriso/write_run.c b/libisoburn/trunk/xorriso/write_run.c index 3f3aa42e..23839733 100644 --- a/libisoburn/trunk/xorriso/write_run.c +++ b/libisoburn/trunk/xorriso/write_run.c @@ -2,7 +2,7 @@ /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images. - Copyright 2007-2010 Thomas Schmitt, + Copyright 2007-2011 Thomas Schmitt, Provided under GPL version 2 or later. @@ -25,7 +25,14 @@ #include #include + +#ifdef HAVE_STDINT_H #include +#else +#ifdef HAVE_INTTYPES_H +#include +#endif +#endif #ifdef Xorriso_standalonE diff --git a/libisoburn/trunk/xorriso/xorriso_private.h b/libisoburn/trunk/xorriso/xorriso_private.h index 217cd03f..ff6c7805 100644 --- a/libisoburn/trunk/xorriso/xorriso_private.h +++ b/libisoburn/trunk/xorriso/xorriso_private.h @@ -20,7 +20,13 @@ /* for uint32_t */ +#ifdef HAVE_STDINT_H #include +#else +#ifdef HAVE_INTTYPES_H +#include +#endif +#endif /** The source code release timestamp */ diff --git a/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index 8e01fdb0..dcb95de9 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.01.18.154443" +#define Xorriso_timestamP "2011.01.18.154717"