Files
nixpkgs/pkgs/development/libraries/unixODBCDrivers/mariadb-connector-odbc-musl.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
1.1 KiB
Diff

From fe6e6412ac0fb155843585647c045a1fba2ee3f2 Mon Sep 17 00:00:00 2001
From: Alyssa Ross <hi@alyssa.is>
Date: Sat, 20 Sep 2025 14:11:13 +0200
Subject: [PATCH] Add missing <cstdint> includes
These files use types from <cstdint> without including it. Without
the includes, the build fails for musl.
---
Link: https://github.com/mariadb-corporation/mariadb-connector-odbc/pull/65
driver/interface/Exception.h | 1 +
driver/template/CArray.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/driver/interface/Exception.h b/driver/interface/Exception.h
index 1b2eb847..82f06273 100644
--- a/driver/interface/Exception.h
+++ b/driver/interface/Exception.h
@@ -21,6 +21,7 @@
#ifndef _EXCEPTION_H_
#define _EXCEPTION_H_
+#include <cstdint>
#include <stdexcept>
#include "class/SQLString.h"
diff --git a/driver/template/CArray.h b/driver/template/CArray.h
index 2c4be514..bd0e9912 100644
--- a/driver/template/CArray.h
+++ b/driver/template/CArray.h
@@ -24,6 +24,7 @@
#include <initializer_list>
#include <vector>
#include <stdexcept>
+#include <cstdint>
#include <cstring>
#include <string>
--
2.51.0