fix implicit function declaration (#53)

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal J 2023-04-23 20:37:42 +02:00 committed by GitHub
parent bf035bf3d5
commit 7d3da7e968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,7 @@ add_project_arguments(cc.get_supported_arguments([
'-Wno-missing-field-initializers',
'-Wno-unused-parameter',
'-D_POSIX_C_SOURCE=200809L',
'-D_GNU_SOURCE',
]), language: 'c')
prefix = get_option('prefix')

View file

@ -1,3 +1,4 @@
#include <stdio.h>
#include "utils.h"
char *getFormat(const char *fmt, ...) {