1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| | From 3cd2c70ded3eb6b6fa01077c4a57c9611ffd385f Mon Sep 17 00:00:00 2001
From: Akira Kyle <akira@akirakyle.com>
Date: Mon, 25 Jul 2022 21:11:15 -0600
Subject: [PATCH] Fix ordering of headers so `#define _GNU_SOURCE` comes first
https://github.com/JuliaLang/julia/pull/46183
---
cli/loader.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli/loader.h b/cli/loader.h
index 2d0b977f71..0620113048 100644
--- a/cli/loader.h
+++ b/cli/loader.h
@@ -22,8 +22,6 @@
#define realloc loader_realloc
#endif
-#include <stdint.h>
-
#ifdef _OS_WINDOWS_
#define WIN32_LEAN_AND_MEAN
@@ -49,6 +47,8 @@
#endif
+#include <stdint.h>
+
// Borrow definition from `support/dtypes.h`
#ifdef _OS_WINDOWS_
# ifdef LIBRARY_EXPORTS
--
2.36.1
|