X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=include%2Flocal-def.h;h=8fe87d0cc7bce3dfac7fc33b6d5cbef196218a07;hb=4db4634b28378379bce04f4073c2a511b92b1ee6;hp=70d7762c2e381d1ce57ed19fe111140e066e78d4;hpb=f51e658a95edeb35b7b3027f7f066d3af0de04c7;p=src%2Fapp-framework-binder.git diff --git a/include/local-def.h b/include/local-def.h index 70d7762c..8fe87d0c 100644 --- a/include/local-def.h +++ b/include/local-def.h @@ -19,7 +19,9 @@ */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE + #define _GNU_SOURCE +#endif #include #include @@ -179,6 +181,7 @@ typedef struct { int forceexit; // when autoconfig from script force exit before starting server AFB_plugin **plugins; // pointer to REST/API plugins magic_t magic; // Mime type file magic lib + sigjmp_buf restartCkpt; // context save for restart set/longjmp } AFB_session;