void-packages/srcpkgs/leatherman/patches/fix-include.patch

25 lines
787 B
Diff

Index: leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp
===================================================================
--- leatherman-1.12.4.orig/util/inc/leatherman/util/scope_exit.hpp
+++ leatherman-1.12.4/util/inc/leatherman/util/scope_exit.hpp
@@ -4,6 +4,7 @@
*/
#pragma once
+#include <stddef.h>
#include <functional>
namespace leatherman { namespace util {
Index: leatherman-1.12.4/util/inc/leatherman/util/scoped_resource.hpp
===================================================================
--- leatherman-1.12.4.orig/util/inc/leatherman/util/scoped_resource.hpp
+++ leatherman-1.12.4/util/inc/leatherman/util/scoped_resource.hpp
@@ -4,6 +4,7 @@
*/
#pragma once
+#include <stddef.h>
#include <functional>
namespace leatherman { namespace util {