bareos: master a09298eb

Author Committer Branch Timestamp Parent
pstorz pstorz master 2019-02-26 12:14 master 6c346ded Pending
Changeset gfapi-fd: avoid "missing config.h" problem on Debian 8 and Ubuntu 16

On Debian 8 and Ubuntu 16, /usr/include/glusterfs/compat-errno.h
contains the following lines:

 #ifndef _CONFIG_H
 #define _CONFIG_H
 #include "config.h"
 #endif

As config.h is not existent, building fails.

By defining _CONFIG_H we avoid this problem and can successfully build
the gfapi-fd plugin.
mod - core/src/plugins/filed/gfapi-fd.cc Diff File