Browse Source

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

release-1.5.4.branch
Thomas Schmitt 11 years ago
parent
commit
84c0bd37ff
  1. 7
      libisofs/buffer.h
  2. 7
      libisofs/ecma119.h
  3. 6
      libisofs/filesrc.h
  4. 8
      libisofs/libisofs.h
  5. 8
      libisofs/make_isohybrid_mbr.c
  6. 7
      libisofs/md5.c
  7. 8
      libisofs/node.h
  8. 7
      libisofs/util.h

7
libisofs/buffer.h

@ -11,7 +11,14 @@
#define LIBISO_BUFFER_H_
#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#define BLOCK_SIZE 2048

7
libisofs/ecma119.h

@ -15,7 +15,14 @@
#include "util.h"
#include "buffer.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#include <pthread.h>
#define BLOCK_SIZE 2048

6
libisofs/filesrc.h

@ -13,7 +13,13 @@
#include "stream.h"
#include "ecma119.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
struct Iso_File_Src
{

8
libisofs/libisofs.h

@ -28,7 +28,15 @@
#define LIBISO_LIBISOFS_H_
#include <sys/stat.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#include <stdlib.h>
struct burn_source;

8
libisofs/make_isohybrid_mbr.c

@ -4,7 +4,15 @@
#endif
#include <ctype.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>

7
libisofs/md5.c

@ -12,7 +12,14 @@
#include "../config.h"
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

8
libisofs/node.h

@ -20,7 +20,15 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
/**
* The extended information is a way to attach additional information to each

7
libisofs/util.h

@ -11,7 +11,14 @@
#ifndef LIBISO_UTIL_H_
#define LIBISO_UTIL_H_
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#endif
#include <time.h>
#ifndef MAX

Loading…
Cancel
Save