From 389ee34d25b02a9ad2df1da49d9f6035766f3c45 Mon Sep 17 00:00:00 2001
From: Dagobert Michelsen <dam@opencsw.org>
Date: Fri, 6 Aug 2010 15:34:40 +0200
Subject: [PATCH 4/6] Use inttypes.h instead of stdint.h
---
lib/md5.h | 4 ++++
lib/sha1.h | 4 ++++
protocols/nogaim.h | 6 ++++++
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/lib/md5.h b/lib/md5.h
index 094507b..3ba2858 100644
a
|
b
|
|
26 | 26 | |
27 | 27 | #include <sys/types.h> |
28 | 28 | #include <gmodule.h> |
| 29 | #if(__sun) |
| 30 | #include <inttypes.h> |
| 31 | #else |
29 | 32 | #include <stdint.h> |
| 33 | #endif |
30 | 34 | |
31 | 35 | typedef uint8_t md5_byte_t; |
32 | 36 | typedef struct MD5Context { |
diff --git a/lib/sha1.h b/lib/sha1.h
index 368c066..4ef8ac9 100644
a
|
b
|
|
23 | 23 | #ifndef _SHA1_H_ |
24 | 24 | #define _SHA1_H_ |
25 | 25 | |
| 26 | #if(__sun) |
| 27 | #include <inttypes.h> |
| 28 | #else |
26 | 29 | #include <stdint.h> |
| 30 | #endif |
27 | 31 | #include <gmodule.h> |
28 | 32 | |
29 | 33 | #ifndef _SHA_enum_ |
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index 48a8041..27ef511 100644
a
|
b
|
|
38 | 38 | #ifndef _NOGAIM_H |
39 | 39 | #define _NOGAIM_H |
40 | 40 | |
| 41 | #if(__sun) |
| 42 | #include <inttypes.h> |
| 43 | #else |
41 | 44 | #include <stdint.h> |
| 45 | #endif |
| 46 | |
| 47 | #include "lib/events.h" |
42 | 48 | |
43 | 49 | #include "bitlbee.h" |
44 | 50 | #include "account.h" |