summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authormayurdahibhate <mayurdahibhate31@gmail.com>2021-04-29 23:43:36 +0530
committerBenBE <BenBE@geshi.org>2021-05-10 18:40:53 +0200
commit3f86a011e6804e2fc94c3dbc9c627d0f468d787a (patch)
tree7fa321ae418138203dc187fc8b218492695015d3 /generic
parent1b74dfe1877676b914af6dcedd2d7578164aab47 (diff)
platform-dependent files included relative to main source directory
Diffstat (limited to 'generic')
-rw-r--r--generic/gettime.c4
-rw-r--r--generic/uname.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/generic/gettime.c b/generic/gettime.c
index ef7d2290..477247d8 100644
--- a/generic/gettime.c
+++ b/generic/gettime.c
@@ -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) {
diff --git a/generic/uname.c b/generic/uname.c
index b77bc8a9..9263d828 100644
--- a/generic/uname.c
+++ b/generic/uname.c
@@ -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>

© 2014-2024 Faster IT GmbH | imprint | privacy policy