Skip to content

Commit 4031f6a

Browse files
author
markd
committed
blosc: get declaration of strdup() on Linux.
1 parent f9ea512 commit 4031f6a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

devel/blosc/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.24 2024/08/25 06:18:31 wiz Exp $
1+
# $NetBSD: Makefile,v 1.25 2025/06/15 20:45:36 markd Exp $
22

33
DISTNAME= blosc-1.21.6
44
CATEGORIES= devel
@@ -29,6 +29,7 @@ FORCE_C_STD= c99
2929
# Needed to use posix_memalign, see tests/test_common.h
3030
CFLAGS+= -D_POSIX_C_SOURCE=200112
3131

32+
CFLAGS.Linux+= -D_DEFAULT_SOURCE
3233
CFLAGS.SunOS+= -D__EXTENSIONS__
3334

3435
PKGCONFIG_OVERRIDE+= blosc.pc.in

0 commit comments

Comments
 (0)