summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)