mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
libreboot-utils: don't use the GNU SOURCE macro
use the POSIX one declare prototypes where necessary. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
* Copyright (c) 2026 Leah Rowe <leah@libreboot.org> /| |\
|
||||
Something something non-determinism / \ */
|
||||
|
||||
#if !defined(_POSIX_C_SOURCE)
|
||||
/* for openat2 on linux */
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user