Avoid lock when child dies
[src/app-framework-binder.git] / src / afb-api-so-v1.c
index 29accd5..c6317ba 100644 (file)
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-#if defined(WITH_LEGACY_BINDING_V1)
+#if WITH_LEGACY_BINDING_V1 && WITH_DYNAMIC_BINDING
 
 #define _GNU_SOURCE