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 <caleb@connolly.tech>
main
Caleb Connolly 8 months ago
parent 74fcde7a8e
commit 3390f642e3
No known key found for this signature in database
GPG Key ID: 7930459FB9303217
  1. 2
      meson.build
  2. 1
      ufs-bsg.c

@ -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')

@ -27,7 +27,6 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define _DEFAULT_SOURCE
#include <linux/bsg.h>
#include <scsi/scsi_bsg_ufs.h>
#include <endian.h>

Loading…
Cancel
Save