mirror of https://github.com/djcb/mu.git
build: fix compiler warning
guile: some clang warning and ensure we get the right Xapian in all places, and fileno is defined.
This commit is contained in:
parent
1c851315ca
commit
6bea54805f
|
@ -98,7 +98,7 @@ check_flag(MuFlags flag, FlagData* fdata)
|
|||
return;
|
||||
|
||||
switch (flag) {
|
||||
case MU_FLAG_NONE: break;
|
||||
case MU_FLAG_NONE: flag_scm = SCM_UNDEFINED; break;
|
||||
case MU_FLAG_NEW: flag_scm = SYMB_FLAG_NEW; break;
|
||||
case MU_FLAG_PASSED: flag_scm = SYMB_FLAG_PASSED; break;
|
||||
case MU_FLAG_REPLIED: flag_scm = SYMB_FLAG_REPLIED; break;
|
||||
|
|
|
@ -21,8 +21,9 @@ index_srcs=[
|
|||
'mu-scanner.cc'
|
||||
]
|
||||
|
||||
xapian_incs = xapian_dep.get_pkgconfig_variable('includedir')
|
||||
lib_mu_index_inc_dep = declare_dependency(
|
||||
include_directories: include_directories(['.', '..']))
|
||||
include_directories: include_directories(['.', '..', xapian_incs]))
|
||||
lib_mu_index=static_library('mu-index', [index_srcs],
|
||||
dependencies: [
|
||||
config_h_dep,
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
**
|
||||
*/
|
||||
|
||||
#define _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 1
|
||||
|
||||
#include <gmime/gmime.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue