Skip to content

Commit

Permalink
Add patch for missing <limits> include
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeum committed Mar 15, 2021
1 parent a91669a commit c005b9c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions patches/libziparchive/0003-Add-missing-limits-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From e10ceebf2487b344b5ccdc7d8647a430c2b311af Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <[email protected]>
Date: Mon, 15 Mar 2021 22:37:39 +0100
Subject: [PATCH] Add missing <limits> include

Needed for the definition of the std::numeric_limits type.
---
zip_archive_stream_entry.cc | 1 +
1 file changed, 1 insertion(+)

diff --git a/zip_archive_stream_entry.cc b/zip_archive_stream_entry.cc
index 248d316..fb1405e 100644
--- a/zip_archive_stream_entry.cc
+++ b/zip_archive_stream_entry.cc
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <unistd.h>

+#include <limits>
#include <memory>
#include <vector>

0 comments on commit c005b9c

Please sign in to comment.