head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.09.09.16.03.19; author micha; state Exp; branches; next ; commitid ghzZQkPgSO3YMXUG; desc @@ 1.1 log @news/canlock-hp: Build fix for SunOS @ text @$NetBSD$ 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 @