mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
Add support for new libite (-lite) header namespace
Due to an unfortunate name clash with the DirectFB project LiTE, the libite (-lite) project had to change its header namespace from lite/*.h -> libite/*.h This patch adds support for the new namepace in Finit, triggered by the define _LIBITE_LITE, from the .pc file read by pkg-config. This should only be needed on systems that install libite without the compatibility symlink lite -> libite/ in the staging include directory. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
980152fd53
commit
280d91b9bf
40 files changed
+209
-44
No files matched your search
+5
-1
@@ -25,7 +25,11 @@
|
||||
#define FINIT_PLUGIN_H_
|
||||
|
||||
#include <uev/uev.h>
|
||||
#include <lite/queue.h> /* BSD sys/queue.h API */
|
||||
#ifdef _LIBITE_LITE
|
||||
# include <libite/queue.h> /* BSD sys/queue.h API */
|
||||
#else
|
||||
# include <lite/queue.h> /* BSD sys/queue.h API */
|
||||
#endif
|
||||
|
||||
#include "svc.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user