SHA256
1
0
forked from pool/libmetalink
libmetalink/libmetalink-llong_max.patch

13 lines
327 B
Diff

--- lib/metalink/metalink_pstate.c.orig 2009-11-07 00:19:18.000000000 +0100
+++ lib/metalink/metalink_pstate.c 2009-11-07 00:19:38.000000000 +0100
@@ -30,6 +30,9 @@
#include <stdlib.h>
#include <errno.h>
#include <limits.h>
+#ifndef LLONG_MAX
+#define LLONG_MAX 9223372036854775807LL
+#endif
#include "metalink_pstm.h"