Changeset 0b9daac for protocols/yahoo


Ignore:
Timestamp:
2015-02-20T23:16:08Z (10 years ago)
Author:
dequis <dx@…>
Parents:
5ebff60
git-author:
dequis <dx@…> (27-12-14 04:06:45)
git-committer:
dequis <dx@…> (20-02-15 23:16:08)
Message:

Reorganize include files to avoid conflicts with other libs

  • Change all header includes to be relative to the project root
  • Remove -I${includedir} from bitlbee.pc Cflags
  • Install lib and protocols headers to their own directories. So now it is:

/usr/include/bitlbee/*.h
/usr/include/bitlbee/lib/*.h
/usr/include/bitlbee/protocols/*.h

This breaks backwards compatibility of third party plugins, but now
they don't have to do ambiguous includes like #include <proxy.h>

This also fixes trac ticket 1170 - conflicts when libproxy and liboauth
are installed at the same time bitlbee is built, which the macports
project ran into several times.

Location:
protocols/yahoo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/yahoo/libyahoo2.c

    r5ebff60 r0b9daac  
    7676#include <ctype.h>
    7777
    78 #include "sha1.h"
    79 #include "md5.h"
     78#include "lib/sha1.h"
     79#include "lib/md5.h"
    8080#include "yahoo2.h"
    8181#include "yahoo_httplib.h"
     
    8989#endif
    9090
    91 #include "base64.h"
    92 #include "http_client.h"
     91#include "lib/base64.h"
     92#include "lib/http_client.h"
    9393
    9494#ifdef USE_STRUCT_CALLBACKS
  • protocols/yahoo/yahoo.c

    r5ebff60 r0b9daac  
    2828#include <sys/stat.h>
    2929#include <ctype.h>
    30 #include "nogaim.h"
     30#include "protocols/nogaim.h"
    3131#include "yahoo2.h"
    3232#include "yahoo2_callbacks.h"
Note: See TracChangeset for help on using the changeset viewer.