mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
fix implicit function declaration (#53)
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
parent
bf035bf3d5
commit
7d3da7e968
2 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,7 @@ add_project_arguments(cc.get_supported_arguments([
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
'-Wno-unused-parameter',
|
'-Wno-unused-parameter',
|
||||||
'-D_POSIX_C_SOURCE=200809L',
|
'-D_POSIX_C_SOURCE=200809L',
|
||||||
|
'-D_GNU_SOURCE',
|
||||||
]), language: 'c')
|
]), language: 'c')
|
||||||
|
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#include <stdio.h>
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
char *getFormat(const char *fmt, ...) {
|
char *getFormat(const char *fmt, ...) {
|
||||||
|
@ -9,4 +10,4 @@ char *getFormat(const char *fmt, ...) {
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
|
||||||
return outputStr;
|
return outputStr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue