Allow to remove systemd library
[src/app-framework-binder.git] / src / systemd.c
index 29d626b..747e6a8 100644 (file)
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+#if WITH_SYSTEMD
+
 #define _GNU_SOURCE
 
 #include <unistd.h>
@@ -113,3 +115,4 @@ int systemd_fds_for(const char *name)
        return -1;
 }
 
+#endif