1
0
Fork 0
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:
Josh Elsasser 2007-08-04 00:43:47 +00:00
parent 4986164148
commit b46052826c
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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