X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-supervision.c;h=84c302f67769d3768a7ae41226444ffab0739391;hb=refs%2Fchanges%2F45%2F15045%2F2;hp=79a9d3fd4ca8ffff4c77854b434e48d7abe86944;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-supervision.c b/src/afb-supervision.c index 79a9d3fd..84c302f6 100644 --- a/src/afb-supervision.c +++ b/src/afb-supervision.c @@ -14,8 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#if defined(WITH_SUPERVISION) + #define _GNU_SOURCE -#define AFB_BINDING_PRAGMA_NO_VERBOSE_MACRO #include #include @@ -395,3 +397,4 @@ static void on_supervision_call(void *closure, struct afb_xreq *xreq) } } +#endif