util/nvmutil: clarify CFLAGS in code

makefile is correct, but lots of people don't read it.

putting it iin code helps people avoid confusion.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-09 05:25:58 +00:00
parent 3b188b4d2b
commit 3b73ea4288
+7
View File
@@ -2,6 +2,13 @@
/* Copyright (c) 2022-2026 Leah Rowe <leah@libreboot.org> */
/* Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com> */
/*
* Written for portability among the Unices (Linux, BSD etc)
*
* Use these CFLAGS:
* -Os -Wall -Wextra -Werror -pedantic -std=c99 -D_POSIX_C_SOURCE=200809L
*/
#define _POSIX_C_SOURCE 200809L
#ifdef __OpenBSD__