From 3480bb10982d48f625b0e4e76af5f66be2c02299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 10 Mar 2022 19:49:00 -0500 Subject: [PATCH] c: include errno.h --- c/opendht.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/opendht.cpp b/c/opendht.cpp index 6aa83d7d..c2b312e6 100644 --- a/c/opendht.cpp +++ b/c/opendht.cpp @@ -10,6 +10,8 @@ using CertSp = std::shared_ptr<dht::crypto::Certificate>; extern "C" { #endif +#include <errno.h> + // dht::InfoHash inline dht_infohash dht_infohash_to_c(const dht::InfoHash& h) { -- GitLab