mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 13:31:54 +00:00
Fix build with GCC 14.1 on Arch
Compiling with `gcc (GCC) 14.1.1 20240507` raised the following warning: `error: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]` Adding `#include <sys/time.h>` according to `man gettimeofday` fixes #509.
This commit is contained in:
parent
af6ab257ea
commit
c83802fd06
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <sys/signalfd.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/wait.h>
|
||||
#include <systemd/sd-bus.h>
|
||||
#include "ctl.h"
|
||||
|
@ -34,7 +35,6 @@
|
|||
#include "shl_util.h"
|
||||
#include "shl_log.h"
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue