mirror of
https://github.com/transmission/transmission
synced 2025-02-23 14:40:43 +00:00
Unbreak the build on my system.
This commit is contained in:
parent
261ac20427
commit
c0970d0431
2 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,9 @@ int vasprintf( char **, const char *, va_list );
|
||||||
#ifndef __AMIGAOS4__
|
#ifndef __AMIGAOS4__
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#ifdef SYS_BEOS
|
#ifdef SYS_BEOS
|
||||||
# define socklen_t uint32_t
|
# define socklen_t uint32_t
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
#ifndef TR_UTILS_H
|
#ifndef TR_UTILS_H
|
||||||
#define TR_UTILS_H 1
|
#define TR_UTILS_H 1
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
void tr_msgInit( void );
|
void tr_msgInit( void );
|
||||||
|
|
||||||
#define tr_err( a... ) tr_msg( TR_MSG_ERR, ## a )
|
#define tr_err( a... ) tr_msg( TR_MSG_ERR, ## a )
|
||||||
|
|
Loading…
Reference in a new issue