-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch for missing <limits> include
See #1 (comment)
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
patches/libziparchive/0003-Add-missing-limits-include.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|