mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
Include inttypes.h instead of stdint.h to unbreak beos.
Hopefully this won't break anything.
This commit is contained in:
parent
4986164148
commit
b46052826c
3 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SYS_BEOS
|
#ifdef SYS_BEOS
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
typedef uint32_t socklen_t;
|
typedef uint32_t socklen_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <inttypes.h>
|
||||||
#define SHA1_OUTPUT_SIZE 20 /* in bytes */
|
#define SHA1_OUTPUT_SIZE 20 /* in bytes */
|
||||||
|
|
||||||
typedef struct sha1_state_s sha1_state_t;
|
typedef struct sha1_state_s sha1_state_t;
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#ifndef TR_UTILS_H
|
#ifndef TR_UTILS_H
|
||||||
#define TR_UTILS_H 1
|
#define TR_UTILS_H 1
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
void tr_msgInit( void );
|
void tr_msgInit( void );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue