1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

archivers/lzo2: add #include <stddef.h> to lzodefs.h

to make the header self-contained.

PR:		294715
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/504
This commit is contained in:
Olivier Cochard
2026-04-22 23:59:00 +00:00
committed by Gleb Popov
parent 71808cdb7b
commit 8bcf9babc3
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PORTNAME= lzo2
PORTVERSION= 2.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= archivers devel
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
LOCAL/mandree
@@ -1,10 +1,11 @@
--- include/lzo/lzodefs.h.orig 2017-03-01 19:54:14 UTC
+++ include/lzo/lzodefs.h
@@ -29,6 +29,8 @@
@@ -29,6 +29,9 @@
#ifndef __LZODEFS_H_INCLUDED
#define __LZODEFS_H_INCLUDED 1
+#include <limits.h>
+#include <stddef.h>
+
#if defined(__CYGWIN32__) && !defined(__CYGWIN__)
# define __CYGWIN__ __CYGWIN32__