platform-dependent files included relative to main source directory

This commit is contained in:
mayurdahibhate
2021-04-29 23:43:36 +05:30
committed by BenBE
parent 1b74dfe187
commit 3f86a011e6
41 changed files with 97 additions and 91 deletions

View File

@ -6,11 +6,11 @@ in the source distribution for its full text.
*/
#include "config.h" // IWYU pragma: keep
#include "generic/gettime.h"
#include <string.h>
#include <time.h>
#include "generic/gettime.h"
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec) {

View File

@ -6,13 +6,14 @@ in the source distribution for its full text.
*/
#include "config.h" // IWYU pragma: keep
#include "generic/uname.h"
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "Macros.h"
#include "XUtils.h"
#include "generic/uname.h"
#ifdef HAVE_SYS_UTSNAME_H
#include <sys/utsname.h>