qports/qubes-db-vm/0001-musl-build.patch

37 lines
879 B
Diff

From 24fd21fe10476a83d9dee30cf2ef9dbb8b238730 Mon Sep 17 00:00:00 2001
From: "build@apk-groulx" <build@apk-groulx.praxis>
Date: Sat, 26 Feb 2022 21:05:26 +0000
Subject: [PATCH 1/1] musl-build.patch
---
client/qdb-client.c | 1 +
daemon/db-daemon.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/client/qdb-client.c b/client/qdb-client.c
index 77f6566..e289019 100644
--- a/client/qdb-client.c
+++ b/client/qdb-client.c
@@ -17,6 +17,7 @@
#include <qubesdb.h>
#include <qubesdb-client.h>
+#include <string.h>
#define MAX_FILE_NAME 256
diff --git a/daemon/db-daemon.c b/daemon/db-daemon.c
index 9934d16..2f35f00 100644
--- a/daemon/db-daemon.c
+++ b/daemon/db-daemon.c
@@ -37,6 +37,7 @@ struct thread_param {
#include "buffer.h"
#include <qubesdb.h>
#include "qubesdb_internal.h"
+#include <string.h>
int init_vchan(struct db_daemon_data *d);
--
2.35.1