Ignore:
Timestamp:
May 30, 2012, 5:47:29 PM (9 years ago)
Author:
jordan
Message:

(trunk libT) fix the Linux build wrt compiling with the new snapshot of libutp checked into r13317

Previously we made sure to include stdbool.h (via transmission.h) before utp.h, since the latter used 'bool' without defining it. The new snapshot defines it unconditionally in non-C++ code, so now we need to include it first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-utp.h

    r12954 r13329  
    2929#define _TR_UTP_H_
    3030
    31 /* this is included *after* transmission.h s.t. we get bool defined */
    32 #include <libutp/utp.h>
    33 
    3431int tr_utpPacket(const unsigned char *buf, size_t buflen,
    3532                 const struct sockaddr *from, socklen_t fromlen,
Note: See TracChangeset for help on using the changeset viewer.