Skip to content

needs-the-cstdint-header #12

@odeneriksson

Description

@odeneriksson

Hi,

On latest Fedora 38 the code won't build unless fixing it like so:

From 195bacebd6d9690ab882c061ddec12306fb3b3a7 Mon Sep 17 00:00:00 2001
From: Oden Eriksson [email protected]
Date: Fri, 4 Aug 2023 15:52:47 +0200
Subject: [PATCH] needs the cstdint header


src/http/httphost.h | 1 +
src/http/sha1.h | 1 +
2 files changed, 2 insertions(+)

diff --git a/src/http/httphost.h b/src/http/httphost.h
index e42da3d..336aae8 100644
--- a/src/http/httphost.h
+++ b/src/http/httphost.h
@@ -4,6 +4,7 @@
#pragma once

#include
+#include

class CookieManager;

diff --git a/src/http/sha1.h b/src/http/sha1.h
index 96480cf..db53478 100644
--- a/src/http/sha1.h
+++ b/src/http/sha1.h
@@ -6,6 +6,7 @@

#include
#include
+#include

void base64_encode(const unsigned char *src, size_t len, char *destination);

--
2.41.0

Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions