1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/archivers/lzo2/files/patch-include__lzo__lzodefs.h
Matthias Andree f7fdb8279d Add #include <limits.h> to include/lzo/lzodefs.h to fix build issues
on some architectures, for instance, i386, that would otherwise
leave ULONG_MAX undefined.

Bug is reported upstream.

Reported by: Randy Bush
2014-06-27 06:37:24 +00:00

12 lines
332 B
C

--- ./include/lzo/lzodefs.h.orig 2014-06-25 15:47:13.000000000 +0200
+++ ./include/lzo/lzodefs.h 2014-06-27 06:31:33.000000000 +0200
@@ -29,6 +29,8 @@
#ifndef __LZODEFS_H_INCLUDED
#define __LZODEFS_H_INCLUDED 1
+#include <limits.h>
+
#if defined(__CYGWIN32__) && !defined(__CYGWIN__)
# define __CYGWIN__ __CYGWIN32__
#endif