Add CMake build files (required by Yocto build process)
[src/app-framework-binder.git] / include / local-def.h
index 70d7762..8fe87d0 100644 (file)
@@ -19,7 +19,9 @@
 
 */
 
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+  #define _GNU_SOURCE
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -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;