Merge pull request #2356 from JakaBac/time-include

fix implicit use of time()
This commit is contained in:
Iceman 2024-04-18 10:30:28 +02:00 committed by GitHub
commit acfda59ff2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -23,6 +23,7 @@
#include <unistd.h> #include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include <libgen.h> // basename #include <libgen.h> // basename
#include <time.h>
#include "pm3line.h" #include "pm3line.h"
#include "usart_defs.h" #include "usart_defs.h"

View file

@ -22,6 +22,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <time.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <iostream> #include <iostream>