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

This commit is contained in:
2011-01-18 16:18:09 +01:00
parent 4e60feaeab
commit 84c0bd37ff
8 changed files with 58 additions and 0 deletions

View File

@@ -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