Fix build with assertions

This commit is contained in:
Patrick Nicolas
2023-06-28 18:33:24 +02:00
parent 16d51338c6
commit 98df3a2ed8
+3 -1
View File
@@ -123,7 +123,9 @@ int create_listen_socket()
}
assert(fd == SD_LISTEN_FDS_START);
// we use "socket activation" mode of monado,
// it requires fd to be SD_LISTEN_FDS_START, which is 3
assert(fd == 3);
setenv("LISTEN_FDS", "1", true);