head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.09.16.09.47.45; author micha; state dead; branches; next 1.1; commitid XkQvYFXesQPhtPVG; 1.1 date 2026.09.09.16.03.19; author micha; state Exp; branches; next ; commitid ghzZQkPgSO3YMXUG; desc @@ 1.2 log @news/canlock-hp: Build fix for SunOS Second attempt to expose the POSIX APIs for SunOS. @ text @$NetBSD: patch-hp_util_hfp__parser.y,v 1.1 2026/09/09 16:03:19 micha Exp $ Same as for lex (proactively). --- hp/util/hfp_parser.y.orig 2026-05-01 16:50:10.000000000 +0000 +++ hp/util/hfp_parser.y @@@@ -1,6 +1,6 @@@@ /* * SPDX-FileType: SOURCE - * SPDX-FileCopyrightText: (c) 2018 Michael Baeuerle + * SPDX-FileCopyrightText: (c) 2018-2026 Michael Baeuerle * SPDX-License-Identifier: ICU */ @@@@ -12,6 +12,9 @@@@ ******************************************************************************** */ +/*! Tell headers that they should be POSIX compliant */ +#define _POSIX_C_SOURCE 200112L + #include #include #include @ 1.1 log @news/canlock-hp: Build fix for SunOS @ text @d1 1 a1 1 $NetBSD$ @