From 3390f642e3d06eb8f2ea87e600b64bc234bda10d Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Wed, 27 Sep 2023 18:43:12 +0100 Subject: [PATCH] meson.build: use gnu11 std instead of c11 This fixes a few compilation issues on different platforms (yay C standards) Signed-off-by: Caleb Connolly --- meson.build | 2 +- ufs-bsg.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 841cb10..8fdd116 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('qbootctl', 'c', default_options : ['c_std=c11']) +project('qbootctl', 'c', default_options : ['c_std=gnu11']) cc = meson.get_compiler('c') diff --git a/ufs-bsg.c b/ufs-bsg.c index ef505d2..05c8885 100644 --- a/ufs-bsg.c +++ b/ufs-bsg.c @@ -27,7 +27,6 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define _DEFAULT_SOURCE #include #include #include