Changeset 0b9daac for lib/misc.c


Ignore:
Timestamp:
2015-02-20T23:16:08Z (9 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r5ebff60 r0b9daac  
    3232
    3333#define BITLBEE_CORE
    34 #include "nogaim.h"
    35 #include "base64.h"
    36 #include "md5.h"
     34#include "protocols/nogaim.h"
     35#include "lib/base64.h"
     36#include "lib/md5.h"
    3737#include <stdio.h>
    3838#include <stdlib.h>
     
    4747#endif
    4848
    49 #include "md5.h"
    50 #include "ssl_client.h"
     49#include "lib/md5.h"
     50#include "lib/ssl_client.h"
    5151
    5252void strip_linefeed(gchar *text)
Note: See TracChangeset for help on using the changeset viewer.