summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Komínek <drake127@planescape.cz>2020-09-13 14:31:54 +0200
committerMatthew Endsley <mendsley@gmail.com>2020-10-17 05:10:18 -0700
commitb817e9491cf7b8699c8462ef9e2657ca4ccd7667 (patch)
tree287009d922a7c2bcaf7cce42b0a46caa88ccd801
parent9fc6d1dc1daa99724ca636a645ffd40be4096cac (diff)
downloadbsdiff-b817e9491cf7b8699c8462ef9e2657ca4ccd7667.tar.gz
Fixed compile error because of missing limits.h.HEADmaster
-rw-r--r--bspatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bspatch.c b/bspatch.c
index 5860a80..ba54c72 100644
--- a/bspatch.c
+++ b/bspatch.c
@@ -1,4 +1,4 @@
-/*-
+/*-
* Copyright 2003-2005 Colin Percival
* Copyright 2012 Matthew Endsley
* All rights reserved
@@ -25,6 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include <limits.h>
#include "bspatch.h"
static int64_t offtin(uint8_t *buf)