(trunk libT) "transmission.h" should *always* be #included before any other libtransmission header
This commit is contained in:
parent
75d92bfb33
commit
74216be9df
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include <event.h>
|
||||
|
||||
#include "transmission.h"
|
||||
#include "crypto.h"
|
||||
#include "utils.h"
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include "crypto.h" /* tr_sha1 */
|
||||
#include "transmission.h"
|
||||
#include "crypto.h" /* tr_sha1 */
|
||||
#include "session.h"
|
||||
#include "bencode.h"
|
||||
#include "makemeta.h"
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#include <stdlib.h> /* malloc() */
|
||||
#include <time.h> /* time_t */
|
||||
|
||||
#include "transmission.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -37,12 +37,10 @@
|
|||
** on.
|
||||
*/
|
||||
|
||||
#include "transmission.h"
|
||||
#include "utils.h"
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
#define ABORT -1
|
||||
|
||||
#define ABORT -1
|
||||
|
||||
/* What character marks an inverted character class? */
|
||||
#define NEGATE_CLASS '^'
|
||||
|
|
Loading…
Reference in New Issue